Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -468,8 +468,8 @@ with st.spinner('Wait for it...'):
|
|
468 |
if screen_width<=485:
|
469 |
screen_width = screen_width//1.05
|
470 |
else:
|
471 |
-
screen_width = int(screen_width//2.3) if screen_width!=820 else screen_width//2
|
472 |
-
screen_height = int(screen_height//2.16) if screen_height!=1180 else screen_height//2
|
473 |
|
474 |
|
475 |
canvas_result = st_canvas(
|
|
|
468 |
if screen_width<=485:
|
469 |
screen_width = screen_width//1.05
|
470 |
else:
|
471 |
+
screen_width = int(screen_width//2.3) if screen_width!=820 else int(screen_width//2)
|
472 |
+
screen_height = int(screen_height//2.16) if screen_height!=1180 else int(screen_height//2)
|
473 |
|
474 |
|
475 |
canvas_result = st_canvas(
|