sreepathi-ravikumar commited on
Commit
250e906
·
verified ·
1 Parent(s): 3eb2902

Update text2generation.py

Browse files
Files changed (1) hide show
  1. 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}"