Commit
•
94ae8af
1
Parent(s):
f9987db
Update max number of requests to datasets server
Browse files
main.py
CHANGED
@@ -248,7 +248,7 @@ async def predict_language(
|
|
248 |
config: str | None = None,
|
249 |
split: str | None = None,
|
250 |
max_request_calls: Annotated[
|
251 |
-
int, Query(title="Max number of requests to datasets server", gt=0, le=
|
252 |
] = 10,
|
253 |
number_of_rows: int = 1000,
|
254 |
language_threshold_percent: float = 0.2,
|
|
|
248 |
config: str | None = None,
|
249 |
split: str | None = None,
|
250 |
max_request_calls: Annotated[
|
251 |
+
int, Query(title="Max number of requests to datasets server", gt=0, le=50)
|
252 |
] = 10,
|
253 |
number_of_rows: int = 1000,
|
254 |
language_threshold_percent: float = 0.2,
|