Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,10 +28,10 @@ with gr.Blocks() as demo:
|
|
| 28 |
with gr.Row():
|
| 29 |
caption = gr.Textbox(label="Generated Caption")
|
| 30 |
|
| 31 |
-
image.change(
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
)
|
| 36 |
|
| 37 |
demo.launch()
|
|
|
|
| 28 |
with gr.Row():
|
| 29 |
caption = gr.Textbox(label="Generated Caption")
|
| 30 |
|
| 31 |
+
# image.change(
|
| 32 |
+
# fn=generate_caption,
|
| 33 |
+
# inputs=[image, gr.inputs.Radio],
|
| 34 |
+
# outputs=caption
|
| 35 |
+
# )
|
| 36 |
|
| 37 |
demo.launch()
|