Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ with demo:
|
|
42 |
button = gr.components.Button(label="Generate")
|
43 |
# when the button is clicked, call the generate_image_predictions function
|
44 |
# and pass in the prompt as an argument
|
45 |
-
button.
|
46 |
|
47 |
|
48 |
demo.launch()
|
|
|
42 |
button = gr.components.Button(label="Generate")
|
43 |
# when the button is clicked, call the generate_image_predictions function
|
44 |
# and pass in the prompt as an argument
|
45 |
+
button.click(generate_image_predictions, inputs=input, outputs=output)
|
46 |
|
47 |
|
48 |
demo.launch()
|