Update app.py
Browse files
app.py
CHANGED
@@ -302,6 +302,6 @@ while True:
|
|
302 |
try:
|
303 |
fig = q.get(timeout=0.1)
|
304 |
chart_placeholder.plotly_chart(fig, use_container_width=True)
|
305 |
-
|
306 |
-
|
307 |
continue
|
|
|
302 |
try:
|
303 |
fig = q.get(timeout=0.1)
|
304 |
chart_placeholder.plotly_chart(fig, use_container_width=True)
|
305 |
+
except queue.Empty:
|
306 |
+
time.sleep(0.1)
|
307 |
continue
|