Spaces:
Running
on
Zero
Running
on
Zero
ai-forever
commited on
change timeout from 120 to 5 in get_response_json
Browse files- src/gigachat.py +2 -1
src/gigachat.py
CHANGED
@@ -60,7 +60,8 @@ token_data: Optional[Dict[str, Any]] = None
|
|
60 |
def get_response_json(
|
61 |
prompt: str,
|
62 |
model: str,
|
63 |
-
timeout: int = 120,
|
|
|
64 |
n: int = 1,
|
65 |
fuse_key_word: Optional[str] = None,
|
66 |
use_giga_censor: bool = False,
|
|
|
60 |
def get_response_json(
|
61 |
prompt: str,
|
62 |
model: str,
|
63 |
+
# timeout: int = 120,
|
64 |
+
timeout: int = 5,
|
65 |
n: int = 1,
|
66 |
fuse_key_word: Optional[str] = None,
|
67 |
use_giga_censor: bool = False,
|