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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -142,12 +142,19 @@ 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
  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
  )
 
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
  Steps to use the app:
147
+
148
  1. Turn on the camera clicking where it says "Click to Access Webcam" and Allow access
149
+
150
  2. Click "Record" (the dropdown arrow is for if you want to change your camera)
151
+
152
  3. Type a sentence into the text input box
153
+
154
  4. Press "Enter" to see your results
155
+
156
  5. In the "Emotion Results" box, you will see something like "Text: {emotion} | Face {emotion} " and the timeline will update
157
+
158
  6. You can press "Stop" to turn off the camera or type "quit" as your message to stop the program
159
  """
160
  )