Spaces:
Runtime error
Runtime error
ParthCodes
commited on
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().get('current')
|
182 |
print(user_id)
|
183 |
|
184 |
video_emotion_totals, frames_sentiments, body_language, distraction_rate = extract_frames(input_video)
|