comment timeout
Browse files
app.py
CHANGED
|
@@ -238,7 +238,7 @@ def capture_image(url=None, use_test_image=False, test_image_name=None):
|
|
| 238 |
latest_data["image_url"] = "N/A"
|
| 239 |
timeout = 45
|
| 240 |
while latest_data["image_url"] == "N/A" and timeout > 0:
|
| 241 |
-
print("timeout", timeout)
|
| 242 |
time.sleep(1)
|
| 243 |
timeout -= 1
|
| 244 |
|
|
@@ -312,7 +312,7 @@ with demo:
|
|
| 312 |
<div style="position: relative; width: 100%; padding-top: 56.25%;">
|
| 313 |
<iframe
|
| 314 |
style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"
|
| 315 |
-
src="https://www.youtube.com/embed/mGlbI54SxQg"
|
| 316 |
title="Bambu A1mini Livestream"
|
| 317 |
frameborder="0"
|
| 318 |
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
|
|
|
| 238 |
latest_data["image_url"] = "N/A"
|
| 239 |
timeout = 45
|
| 240 |
while latest_data["image_url"] == "N/A" and timeout > 0:
|
| 241 |
+
# print("timeout", timeout)
|
| 242 |
time.sleep(1)
|
| 243 |
timeout -= 1
|
| 244 |
|
|
|
|
| 312 |
<div style="position: relative; width: 100%; padding-top: 56.25%;">
|
| 313 |
<iframe
|
| 314 |
style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"
|
| 315 |
+
src="https://www.youtube.com/embed/mGlbI54SxQg?autoplay=1"
|
| 316 |
title="Bambu A1mini Livestream"
|
| 317 |
frameborder="0"
|
| 318 |
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|