marcogallen commited on
Commit
737f8b1
1 Parent(s): 0cd0735

Update for app.py to add shared=true when launching gradio

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,4 +12,4 @@ def predict(img):
12
 
13
  title = "Emotions classifier"
14
  description = "This classifier tries to find peoples emotions from pictures."
15
- gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512, 512)), outputs=gr.outputs.Label(num_top_classes=3), title=title, description=description).launch()
 
12
 
13
  title = "Emotions classifier"
14
  description = "This classifier tries to find peoples emotions from pictures."
15
+ gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512, 512)), outputs=gr.outputs.Label(num_top_classes=3), title=title, description=description).launch(share=True)