sgbaird commited on
Commit
f5e0dd0
·
verified ·
1 Parent(s): 6fc3cc6

comment timeout

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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"