add share=True in gradio launch
Browse files
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)
|