Omar ID EL MOUMEN commited on
Commit
54261f6
·
1 Parent(s): 48f6066

Change limit type

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ class DocumentID(BaseModel):
60
 
61
  class PDF(BaseModel):
62
  url: str
63
- page_num: str = -1
64
 
65
  @app.post("/search")
66
  async def get_articles(query: Query):
 
60
 
61
  class PDF(BaseModel):
62
  url: str
63
+ page_num: int = -1
64
 
65
  @app.post("/search")
66
  async def get_articles(query: Query):