Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,6 @@ with gr.Blocks() as demo:
|
|
8 |
img = gr.Image()
|
9 |
textbox = gr.Textbox()
|
10 |
button = gr.Button("Run")
|
11 |
-
|
12 |
|
13 |
demo.launch()
|
|
|
8 |
img = gr.Image()
|
9 |
textbox = gr.Textbox()
|
10 |
button = gr.Button("Run")
|
11 |
+
button.click(fn=generate, inputs=img, outputs=textbox)
|
12 |
|
13 |
demo.launch()
|