Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
classifier = pipeline("text-classification", model="juliensimon/distilbert-amazon-shoe-reviews")
|
5 |
|
6 |
|
7 |
def predict(review):
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
classifier = pipeline("text-classification", model="huggingface/juliensimon/distilbert-amazon-shoe-reviews")
|
5 |
|
6 |
|
7 |
def predict(review):
|