NoorIlyas commited on
Commit
bb8a258
·
verified ·
1 Parent(s): 1a3282a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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)