gonzalocordova commited on
Commit
fb198fb
·
1 Parent(s): 7ec9d9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,4 +43,4 @@ def predict_fn(image):
43
  # return dictionary whose keys are labels and values are confidences
44
  return {'focused': focused_prob, 'distracted': distracted_prob}
45
 
46
- gr.Interface(predict_fn, gr.inputs.Image(type="pil", label="Input Image"), outputs="label").launch()
 
43
  # return dictionary whose keys are labels and values are confidences
44
  return {'focused': focused_prob, 'distracted': distracted_prob}
45
 
46
+ gr.Interface(predict_fn, gr.inputs.Image(type="pil", label="Input Image"), outputs="label").launch(share=True)