Chris4K commited on
Commit
aaf98c7
1 Parent(s): 6eaeb51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -97,8 +97,8 @@ def predict(text):
97
  return sentiment_result
98
 
99
 
100
-
101
- sentiment = gr.load(model_id_7)
102
 
103
  def sentiment (message):
104
  sentiment_label = sentiment.predict(message)
 
97
  return sentiment_result
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)