Update app.py
Browse files
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)
|