Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ article = "I will add it soon wait.."
|
|
57 |
# Create examples list from "examples/" directory
|
58 |
example_list = [["examples/" + example] for example in os.listdir("examples")]
|
59 |
input_1 = gr.inputs.Image(type='pil', label="upload Image", source="upload")
|
60 |
-
input_2 = gr.inputs.Image(type='pil', label="take photo", source="webcam"
|
61 |
inputs= [input_1, input_2]
|
62 |
# Create the Gradio demo
|
63 |
demo = gr.Interface(fn=predict, # mapping function from input to output
|
|
|
57 |
# Create examples list from "examples/" directory
|
58 |
example_list = [["examples/" + example] for example in os.listdir("examples")]
|
59 |
input_1 = gr.inputs.Image(type='pil', label="upload Image", source="upload")
|
60 |
+
input_2 = gr.inputs.Image(type='pil', label="take photo", source="webcam")
|
61 |
inputs= [input_1, input_2]
|
62 |
# Create the Gradio demo
|
63 |
demo = gr.Interface(fn=predict, # mapping function from input to output
|