Spaces:
Runtime error
Runtime error
Afroz Alam
commited on
Commit
·
24e006f
1
Parent(s):
aab6dba
new model
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
|
|
3 |
from transformers import pipeline
|
4 |
|
5 |
auth_token = os.environ.get("access_token")
|
6 |
-
pipeline_en = pipeline(task="text-classification", model="afroz14/
|
7 |
|
8 |
|
9 |
def predict_en(text):
|
|
|
3 |
from transformers import pipeline
|
4 |
|
5 |
auth_token = os.environ.get("access_token")
|
6 |
+
pipeline_en = pipeline(task="text-classification", model="afroz14/demomodel")
|
7 |
|
8 |
|
9 |
def predict_en(text):
|