gonzalocordova commited on
Commit
2a2ae27
·
1 Parent(s): 0e27ecd

feat: launch with share link

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)