itbetyar commited on
Commit
9bfafd4
·
verified ·
1 Parent(s): 3ea745f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -79,7 +79,8 @@ with gr.Blocks(css=custom_css) as ablakom:
79
 
80
  with gr.Row():
81
  with gr.Column(scale=1):
82
- input_image = gr.Image(type="file", label="Upload an image...", source="upload", interactive=True, show_label=False)
 
83
 
84
  with gr.Row():
85
  clear_btn = gr.Button("Reset")
 
79
 
80
  with gr.Row():
81
  with gr.Column(scale=1):
82
+ input_image = gr.Image(type="numpy", label="Upload an image...", sources=["upload"])
83
+
84
 
85
  with gr.Row():
86
  clear_btn = gr.Button("Reset")