Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -25,10 +25,14 @@ MARKDOWN = """
|
|
25 |
# Conntour
|
26 |
"""
|
27 |
AVATARS = (
|
28 |
-
"https://
|
29 |
"https://media.roboflow.com/spaces/openai-white-logomark.png"
|
30 |
)
|
31 |
|
|
|
|
|
|
|
|
|
32 |
# Set your OpenAI API key
|
33 |
openai.api_key = api_key
|
34 |
MODEL="gpt-4o"
|
@@ -186,9 +190,6 @@ def analyze_stream(prompt, chatbot):
|
|
186 |
global stop_capture
|
187 |
stop_capture = False
|
188 |
# stream = "https://streamapi2.eu.loclx.io/video_feed/101"
|
189 |
-
stream = "https://uqnmqpvwlbpmdvutucia.supabase.co/storage/v1/object/public/videos_test/junction.mp4?t=2024-12-26T09%3A58%3A11.931Z"
|
190 |
-
|
191 |
-
|
192 |
cap = cv2.VideoCapture(stream or WEBCAM)
|
193 |
|
194 |
frames = []
|
|
|
25 |
# Conntour
|
26 |
"""
|
27 |
AVATARS = (
|
28 |
+
"https://uqnmqpvwlbpmdvutucia.supabase.co/storage/v1/object/public/test/square_padding.png?t=2024-12-26T10%3A36%3A46.488Z",
|
29 |
"https://media.roboflow.com/spaces/openai-white-logomark.png"
|
30 |
)
|
31 |
|
32 |
+
|
33 |
+
|
34 |
+
|
35 |
+
|
36 |
# Set your OpenAI API key
|
37 |
openai.api_key = api_key
|
38 |
MODEL="gpt-4o"
|
|
|
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 = []
|