Elbhnasy commited on
Commit
b54ea2f
·
1 Parent(s): d61f146

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -56,9 +56,8 @@ article = "I will add it soon wait.."
56
 
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
64
  inputs=inputs, # what are the inputs?
 
56
 
57
  # Create examples list from "examples/" directory
58
  example_list = [["examples/" + example] for example in os.listdir("examples")]
59
+ inputs=gr.inputs.Image(type='pil', label="upload Image", source="upload")
60
+
 
61
  # Create the Gradio demo
62
  demo = gr.Interface(fn=predict, # mapping function from input to output
63
  inputs=inputs, # what are the inputs?