echung682 commited on
Commit
eb18c01
·
verified ·
1 Parent(s): a281269

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -142,6 +142,13 @@ with gr.Blocks(title="Emotion Reader") as emotion_reader:
142
  """
143
  # Emotion Analysis from Text and Face
144
  ⚠️ This application will use your webcam to detect facial emotions. By using this app, you consent to webcam access. Type text and press Enter to analyze both text and facial emotions.
 
 
 
 
 
 
 
145
  """
146
  )
147
  with gr.Row():
 
142
  """
143
  # Emotion Analysis from Text and Face
144
  ⚠️ This application will use your webcam to detect facial emotions. By using this app, you consent to webcam access. Type text and press Enter to analyze both text and facial emotions.
145
+ Steps to use the app:
146
+ 1. Turn on the camera clicking where it says "Click to Access Webcam" and Allow access
147
+ 2. Click "Record" (the dropdown arrow is for if you want to change your camera)
148
+ 3. Type a sentence into the text input box
149
+ 4. Press "Enter" to see your results
150
+ 5. In the "Emotion Results" box, you will see something like "Text: {emotion} | Face {emotion} " and the timeline will update
151
+ 6. You can press "Stop" to turn off the camera or type "quit" as your message to stop the program
152
  """
153
  )
154
  with gr.Row():