Spaces:
Sleeping
Sleeping
Omar ID EL MOUMEN
commited on
Commit
·
54261f6
1
Parent(s):
48f6066
Change limit type
Browse files
app.py
CHANGED
|
@@ -60,7 +60,7 @@ class DocumentID(BaseModel):
|
|
| 60 |
|
| 61 |
class PDF(BaseModel):
|
| 62 |
url: str
|
| 63 |
-
page_num:
|
| 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):
|