Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ Now begin. You can make the descriptions a bit more verbose than in the examples
|
|
| 50 |
|
| 51 |
Description: {text}
|
| 52 |
Thought:"""
|
| 53 |
-
return llm_client.chat_completion([{"role": "user", "content": prompt}],
|
| 54 |
|
| 55 |
|
| 56 |
def parse_llm_output(output):
|
|
|
|
| 50 |
|
| 51 |
Description: {text}
|
| 52 |
Thought:"""
|
| 53 |
+
return llm_client.chat_completion([{"role": "user", "content": prompt}], max_tokens=2096, stream=True, stop=[end_sequence])
|
| 54 |
|
| 55 |
|
| 56 |
def parse_llm_output(output):
|