Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,8 @@ from transformers import pipeline
|
|
3 |
from PIL import Image
|
4 |
import requests
|
5 |
from io import BytesIO
|
|
|
|
|
6 |
|
7 |
# Load the emotion detection model from Hugging Face's Transformers library
|
8 |
emotion_model = pipeline("image-classification", model="EleutherAI/emotion-english", device=0)
|
|
|
3 |
from PIL import Image
|
4 |
import requests
|
5 |
from io import BytesIO
|
6 |
+
python -m pip install
|
7 |
+
|
8 |
|
9 |
# Load the emotion detection model from Hugging Face's Transformers library
|
10 |
emotion_model = pipeline("image-classification", model="EleutherAI/emotion-english", device=0)
|