Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,11 +1,8 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
-
# Load the tokenizer
|
| 5 |
-
# model_checkpoint = "roberta-large"
|
| 6 |
-
# tokenizer = AutoTokenizer.from_pretrained(model_checkpoint)
|
| 7 |
|
| 8 |
-
model_checkpoint = "
|
| 9 |
|
| 10 |
|
| 11 |
# Load the text classification pipeline
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from transformers import pipeline
|
| 3 |
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
+
model_checkpoint = "hagara/roberta-large-2"
|
| 6 |
|
| 7 |
|
| 8 |
# Load the text classification pipeline
|