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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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",device_id=1)
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