Chris4K commited on
Commit
36a3323
1 Parent(s): aaf98c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -98,7 +98,7 @@ def predict(text):
98
 
99
 
100
  #['huggingface', 'models', 'spaces']
101
- sentiment = gr.load(model_id_7, src="models")
102
 
103
  def sentiment (message):
104
  sentiment_label = sentiment.predict(message)
@@ -186,4 +186,5 @@ app = gr.Interface(
186
 
187
 
188
  app = gr.Interface(fn=factextraction, inputs="textbox", outputs="textbox", title="Conversation Bot")
 
189
  app.launch()
 
98
 
99
 
100
  #['huggingface', 'models', 'spaces']
101
+ sentiment = gr.load(model_id_7, src="huggingface")
102
 
103
  def sentiment (message):
104
  sentiment_label = sentiment.predict(message)
 
186
 
187
 
188
  app = gr.Interface(fn=factextraction, inputs="textbox", outputs="textbox", title="Conversation Bot")
189
+ # create a public link, set `share=True` in `launch()
190
  app.launch()