prashantmatlani commited on
Commit
819e85a
·
1 Parent(s): 78b9577

modified main

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -73,7 +73,7 @@ async def handle_upload(
73
  # Fix: Convert strings to proper types
74
  is_whole = whole.lower() == "true"
75
  s_page = int(start)
76
- s_page = s_page-1 if s_page != 1 else 1
77
  e_page = int(end)
78
 
79
  #Debugging the values received from the UI
 
73
  # Fix: Convert strings to proper types
74
  is_whole = whole.lower() == "true"
75
  s_page = int(start)
76
+ s_page = s_page-1 if s_page != 1 else 0
77
  e_page = int(end)
78
 
79
  #Debugging the values received from the UI