Spaces:
Runtime error
Runtime error
changed model path
Browse files- app.py +1 -1
- requirements.txt +0 -2
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
def inference(text):
|
5 |
-
classifier = pipeline("text-classification", model="
|
6 |
output = classifier(text)
|
7 |
return output[0]["label"]
|
8 |
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
def inference(text):
|
5 |
+
classifier = pipeline("text-classification", model="karanzrk/bert-IELTS")
|
6 |
output = classifier(text)
|
7 |
return output[0]["label"]
|
8 |
|
requirements.txt
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
transformers
|
2 |
-
torch
|
|
|
|
|
|