Adhir commited on
Commit
df57649
1 Parent(s): 690cced

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -18,8 +18,10 @@ def predict(image):
18
 
19
  gr.Interface(
20
  predict,
21
- inputs = gr.Image(label="Upload Any room photo", type = "filepath"),
22
  outputs = gr.Label(num_top_classes=5),
23
- title="Which room is this ?",
24
  ).launch(share="True")
25
 
 
 
 
18
 
19
  gr.Interface(
20
  predict,
21
+ inputs = gr.Image(sources=["webcam"], streaming=True)
22
  outputs = gr.Label(num_top_classes=5),
23
+ title="Show your face ?",
24
  ).launch(share="True")
25
 
26
+ #inputs = gr.Image(label="Upload Any room photo", type = "filepath"),
27
+