Spaces:
Sleeping
Sleeping
ParthCodes
commited on
Commit
•
1f59e15
1
Parent(s):
89c244c
Update app.py
Browse files
app.py
CHANGED
@@ -178,7 +178,7 @@ def analyze_sentiment(text):
|
|
178 |
|
179 |
def video_to_audio(input_video):
|
180 |
temp = requests.get('https://parthcodes-flask-tester.hf.space/useridping')
|
181 |
-
user_id = temp.json()
|
182 |
print(user_id)
|
183 |
|
184 |
video_emotion_totals, frames_sentiments, body_language, distraction_rate = extract_frames(input_video)
|
|
|
178 |
|
179 |
def video_to_audio(input_video):
|
180 |
temp = requests.get('https://parthcodes-flask-tester.hf.space/useridping')
|
181 |
+
user_id = temp.json()['current']
|
182 |
print(user_id)
|
183 |
|
184 |
video_emotion_totals, frames_sentiments, body_language, distraction_rate = extract_frames(input_video)
|