Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,8 @@ def caption_and_generate(image):
|
|
7 |
return [caption, image]
|
8 |
|
9 |
with gr.Blocks() as demo:
|
10 |
-
gr.Markdown("# Caption Image-and-Generate
|
11 |
-
image_upload = gr.Image(label="Your
|
12 |
btn_all = gr.Button("Caption and generate")
|
13 |
caption = gr.Textbox(label="Generated caption")
|
14 |
image_output = gr.Image(label="Generated Image")
|
|
|
7 |
return [caption, image]
|
8 |
|
9 |
with gr.Blocks() as demo:
|
10 |
+
gr.Markdown("# Caption Image-and-Generate Image🖍️")
|
11 |
+
image_upload = gr.Image(label="Upload Your image",type="pil")
|
12 |
btn_all = gr.Button("Caption and generate")
|
13 |
caption = gr.Textbox(label="Generated caption")
|
14 |
image_output = gr.Image(label="Generated Image")
|