kkesarwani commited on
Commit
b65cb21
Β·
1 Parent(s): 2ab3c91

set share as true

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -58,6 +58,7 @@ title = 'Sentiment Analysis 🀣😱😑😒'
58
  description = "The sentiment analysis model is a deep learning-based natural language processing (NLP) model designed to analyze and classify the sentiment expressed in text data. It is trained to understand the emotional tone of text and categorize it into predefined sentiment categories such as <b>anger, fear, sadness, and joy.<b><br><br>\
59
  <b>WARNING:</b> Your input will be saved for improving model accuracy. If you believe the model's prediction is incorrect, please click the 'Flag' button.<br>\
60
  <b>Tip:</b> If you assume the output is incorrect, click the 'Flag' button to notify us."
 
61
  demo = gr.Interface(fn=predict,
62
  inputs=inputs,
63
  outputs=outputs,
@@ -65,4 +66,4 @@ demo = gr.Interface(fn=predict,
65
  description=description,
66
  examples=example_list,
67
  allow_flagging=True)
68
- demo.launch()
 
58
  description = "The sentiment analysis model is a deep learning-based natural language processing (NLP) model designed to analyze and classify the sentiment expressed in text data. It is trained to understand the emotional tone of text and categorize it into predefined sentiment categories such as <b>anger, fear, sadness, and joy.<b><br><br>\
59
  <b>WARNING:</b> Your input will be saved for improving model accuracy. If you believe the model's prediction is incorrect, please click the 'Flag' button.<br>\
60
  <b>Tip:</b> If you assume the output is incorrect, click the 'Flag' button to notify us."
61
+
62
  demo = gr.Interface(fn=predict,
63
  inputs=inputs,
64
  outputs=outputs,
 
66
  description=description,
67
  examples=example_list,
68
  allow_flagging=True)
69
+ demo.launch(share= True)