ehristoforu commited on
Commit
cc59c19
1 Parent(s): 6ae8bb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,5 +9,5 @@ def upscale_image(input_image):
9
  return output_image
10
 
11
  # Создаем интерфейс Gradio
12
- iface = gr.Interface(fn=upscale_image, inputs="image", outputs="image")
13
  iface.launch()
 
9
  return output_image
10
 
11
  # Создаем интерфейс Gradio
12
+ iface = gr.Interface(fn=upscale_image, inputs = gr.Image(label="Input Image", interactive=True), outputs = gr.Image(label="Upscaled Image"), title="Image Upscaler")
13
  iface.launch()