Spaces:
Sleeping
Sleeping
Update text2generation.py
Browse files- text2generation.py +1 -0
text2generation.py
CHANGED
|
@@ -16,6 +16,7 @@ def generate_long_answer(question):
|
|
| 16 |
},
|
| 17 |
json={
|
| 18 |
"model": "deepseek/deepseek-chat-v3-0324:free",
|
|
|
|
| 19 |
"messages": [{
|
| 20 |
"role": "user",
|
| 21 |
"content": f"condition every topics or heading only must startswith # and endswith : \n\n{question}"
|
|
|
|
| 16 |
},
|
| 17 |
json={
|
| 18 |
"model": "deepseek/deepseek-chat-v3-0324:free",
|
| 19 |
+
"stream":True,
|
| 20 |
"messages": [{
|
| 21 |
"role": "user",
|
| 22 |
"content": f"condition every topics or heading only must startswith # and endswith : \n\n{question}"
|