Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ from io import BytesIO
|
|
13 |
# pytesseract.pytesseract.tesseract_cmd = r'C:\Program Files\Tesseract-OCR\tesseract.exe'
|
14 |
|
15 |
# Set up AI models
|
16 |
-
emotion_classifier = pipeline("text-classification", model="joeddav/distilbert-base-uncased-go-emotions")
|
17 |
keyword_extractor = KeyBERT()
|
18 |
zero_shot_classifier = pipeline("zero-shot-classification", model="facebook/bart-large-mnli")
|
19 |
|
|
|
13 |
# pytesseract.pytesseract.tesseract_cmd = r'C:\Program Files\Tesseract-OCR\tesseract.exe'
|
14 |
|
15 |
# Set up AI models
|
16 |
+
emotion_classifier = pipeline("text-classification", model="joeddav/distilbert-base-uncased-go-emotions-student")
|
17 |
keyword_extractor = KeyBERT()
|
18 |
zero_shot_classifier = pipeline("zero-shot-classification", model="facebook/bart-large-mnli")
|
19 |
|