Spaces:
Running
Running
update tokens
Browse files
app.py
CHANGED
@@ -408,7 +408,8 @@ with gr.Blocks(css_paths="app.css") as demo:
|
|
408 |
completion = client.chat.completions.create(
|
409 |
model=_current_model["id"],
|
410 |
messages=messages,
|
411 |
-
stream=True
|
|
|
412 |
)
|
413 |
|
414 |
content = ""
|
|
|
408 |
completion = client.chat.completions.create(
|
409 |
model=_current_model["id"],
|
410 |
messages=messages,
|
411 |
+
stream=True,
|
412 |
+
max_tokens=5000 # Higher max_tokens for more complete applications while maintaining reasonable speed
|
413 |
)
|
414 |
|
415 |
content = ""
|