Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ def generate_caption(image):
|
|
58 |
# return image_path
|
59 |
# except Exception as e:
|
60 |
# raise Exception(f"Error generating image: {str(e)}")
|
61 |
-
|
62 |
io = gr.Interface(generate_caption,
|
63 |
inputs=[gr.Image(label="Input Image")],
|
64 |
outputs = [gr.Textbox(label="Output Prompt", lines=2, show_copy_button = True),
|
|
|
58 |
# return image_path
|
59 |
# except Exception as e:
|
60 |
# raise Exception(f"Error generating image: {str(e)}")
|
61 |
+
|
62 |
io = gr.Interface(generate_caption,
|
63 |
inputs=[gr.Image(label="Input Image")],
|
64 |
outputs = [gr.Textbox(label="Output Prompt", lines=2, show_copy_button = True),
|