Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -30,9 +30,6 @@ AVATARS = (
|
|
30 |
)
|
31 |
|
32 |
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
# Set your OpenAI API key
|
37 |
openai.api_key = api_key
|
38 |
MODEL="gpt-4o"
|
@@ -190,6 +187,7 @@ def analyze_stream(prompt, chatbot):
|
|
190 |
global stop_capture
|
191 |
stop_capture = False
|
192 |
# stream = "https://streamapi2.eu.loclx.io/video_feed/101"
|
|
|
193 |
cap = cv2.VideoCapture(stream or WEBCAM)
|
194 |
|
195 |
frames = []
|
|
|
30 |
)
|
31 |
|
32 |
|
|
|
|
|
|
|
33 |
# Set your OpenAI API key
|
34 |
openai.api_key = api_key
|
35 |
MODEL="gpt-4o"
|
|
|
187 |
global stop_capture
|
188 |
stop_capture = False
|
189 |
# stream = "https://streamapi2.eu.loclx.io/video_feed/101"
|
190 |
+
stream = "https://uqnmqpvwlbpmdvutucia.supabase.co/storage/v1/object/public/videos_test/junction.mp4?t=2024-12-26T09%3A58%3A11.931Z"
|
191 |
cap = cv2.VideoCapture(stream or WEBCAM)
|
192 |
|
193 |
frames = []
|