Spaces:
Runtime error
Runtime error
mancatha
commited on
Commit
·
a5119e5
1
Parent(s):
66fd837
app_update
Browse files
app.py
CHANGED
@@ -9,9 +9,9 @@ import gradio as gr
|
|
9 |
|
10 |
# Load the model and tokenizer
|
11 |
# setup
|
12 |
-
model_name = "benmanks/
|
13 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
14 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
15 |
|
16 |
# Function
|
17 |
def preprocess(text):
|
|
|
9 |
|
10 |
# Load the model and tokenizer
|
11 |
# setup
|
12 |
+
model_name = "benmanks/sentiment_analysis"
|
13 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
14 |
+
tokenizer = AutoTokenizer.from_pretrained("benmanks/sentiment_analysis")
|
15 |
|
16 |
# Function
|
17 |
def preprocess(text):
|