warhawkmonk commited on
Commit
a3b1be9
·
verified ·
1 Parent(s): 485ae6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -441,8 +441,8 @@ with st.spinner('Wait for it...'):
441
  vector_store.append((embedding, chunk.page_content) )
442
 
443
  else:
444
- if screen_width==485:
445
- screen_width = screen_width//0.9
446
  else:
447
  screen_width = int(screen_width//2.3) if screen_width!=820 else screen_width//2
448
  screen_height = int(screen_height//2.16) if screen_height!=1180 else screen_height//2
 
441
  vector_store.append((embedding, chunk.page_content) )
442
 
443
  else:
444
+ if screen_width<485:
445
+ screen_width = screen_width//1
446
  else:
447
  screen_width = int(screen_width//2.3) if screen_width!=820 else screen_width//2
448
  screen_height = int(screen_height//2.16) if screen_height!=1180 else screen_height//2