AlCyede commited on
Commit
a8f199b
1 Parent(s): e43097d

add share=True in gradio launch

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,4 +14,4 @@ def predict(text):
14
  return f"prediction: {model.config.id2label[predicted_class_id]}\nconfidence: {predicted_class_prob * 100:.02f}%"
15
 
16
  demo = gr.Interface(fn=predict, inputs="text", outputs="text")
17
- demo.launch()
 
14
  return f"prediction: {model.config.id2label[predicted_class_id]}\nconfidence: {predicted_class_prob * 100:.02f}%"
15
 
16
  demo = gr.Interface(fn=predict, inputs="text", outputs="text")
17
+ demo.launch(share=True)