prithivMLmods commited on
Commit
4d4a293
·
verified ·
1 Parent(s): e12d1de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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",