Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from scipy.special import softmax
|
|
6 |
import gradio as gr
|
7 |
|
8 |
# Requirements
|
9 |
-
model_path = f"FKBaffour/
|
10 |
tokenizer = AutoTokenizer.from_pretrained('roberta-base')
|
11 |
config = AutoConfig.from_pretrained(model_path)
|
12 |
model = AutoModelForSequenceClassification.from_pretrained(model_path)
|
|
|
6 |
import gradio as gr
|
7 |
|
8 |
# Requirements
|
9 |
+
model_path = f"FKBaffour/fine-tuned-roberta-base-model-for-sentiment-analysis"
|
10 |
tokenizer = AutoTokenizer.from_pretrained('roberta-base')
|
11 |
config = AutoConfig.from_pretrained(model_path)
|
12 |
model = AutoModelForSequenceClassification.from_pretrained(model_path)
|