Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,8 +12,8 @@ def my_interface(input_image, prompt="This is a beautiful scenery", negative_pro
|
|
| 12 |
|
| 13 |
# Define your Gradio interface
|
| 14 |
iface = gr.Interface(fn=my_interface,
|
| 15 |
-
inputs=gr.
|
| 16 |
-
outputs=gr.
|
| 17 |
|
| 18 |
# Launch your Gradio interface
|
| 19 |
iface.launch()
|
|
|
|
| 12 |
|
| 13 |
# Define your Gradio interface
|
| 14 |
iface = gr.Interface(fn=my_interface,
|
| 15 |
+
inputs=gr.Image(shape=(1024,1024), source="upload"),
|
| 16 |
+
outputs=gr.Image())
|
| 17 |
|
| 18 |
# Launch your Gradio interface
|
| 19 |
iface.launch()
|