Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -58,7 +58,7 @@ def proxy():
|
|
58 |
max_ctx = int(info.split("<= ")[1].split(".")[0])
|
59 |
inputs = int(info.split("Given: ")[1].split("`")[0])
|
60 |
json_data['max_tokens'] = max_ctx - inputs - 1
|
61 |
-
except Exception e:
|
62 |
print(e)
|
63 |
|
64 |
if not 'seed' in json_data:
|
|
|
58 |
max_ctx = int(info.split("<= ")[1].split(".")[0])
|
59 |
inputs = int(info.split("Given: ")[1].split("`")[0])
|
60 |
json_data['max_tokens'] = max_ctx - inputs - 1
|
61 |
+
except Exception as e:
|
62 |
print(e)
|
63 |
|
64 |
if not 'seed' in json_data:
|