Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -107,10 +107,10 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
| 107 |
|
| 108 |
with gr.Row():
|
| 109 |
with gr.Column(scale=1):
|
|
|
|
| 110 |
image_upload = gr.Image(
|
| 111 |
label="Upload Low-Resolution Image",
|
| 112 |
-
type="pil"
|
| 113 |
-
tool='editor'
|
| 114 |
)
|
| 115 |
prompt = gr.Textbox(
|
| 116 |
label="Prompt",
|
|
|
|
| 107 |
|
| 108 |
with gr.Row():
|
| 109 |
with gr.Column(scale=1):
|
| 110 |
+
# FIXED LINE: Removed the `tool='editor'` argument
|
| 111 |
image_upload = gr.Image(
|
| 112 |
label="Upload Low-Resolution Image",
|
| 113 |
+
type="pil"
|
|
|
|
| 114 |
)
|
| 115 |
prompt = gr.Textbox(
|
| 116 |
label="Prompt",
|