Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -98,7 +98,7 @@ example_list = [["examples/" + example] for example in os.listdir("examples")]
|
|
98 |
# Create examples list from "examples/" directory
|
99 |
# Create the Gradio demo
|
100 |
demo = gr.Interface(fn=predict, # mapping function from input to output
|
101 |
-
inputs= image #gr.Image(type="pil"), # what are the inputs?
|
102 |
outputs=out_im,
|
103 |
examples=example_list,
|
104 |
title=title,
|
|
|
98 |
# Create examples list from "examples/" directory
|
99 |
# Create the Gradio demo
|
100 |
demo = gr.Interface(fn=predict, # mapping function from input to output
|
101 |
+
inputs= image, #gr.Image(type="pil"), # what are the inputs?
|
102 |
outputs=out_im,
|
103 |
examples=example_list,
|
104 |
title=title,
|