AlGe commited on
Commit
9e056d6
·
verified ·
1 Parent(s): 460ed53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.inputs.Image(shape=(1024,1024), source="upload"),
16
- outputs=gr.outputs.Image())
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()