KvrParaskevi commited on
Commit
a496ca6
·
verified ·
1 Parent(s): 6d0fb48

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -39,6 +39,9 @@ gen_kwargs = dict(
39
  stop_sequences=["\nUser:", "<|endoftext|>", "</s>", "\nHuman:"],
40
  )
41
 
 
 
 
42
  def chat_template_prompt():
43
  template = """
44
  Do not repeat questions and do not generate answer for user/human.Do not repeat yourself and do not create/generate dialogues.
 
39
  stop_sequences=["\nUser:", "<|endoftext|>", "</s>", "\nHuman:"],
40
  )
41
 
42
+
43
+ stream = client.text_generation(prompt, stream=True, details=True, **gen_kwargs)
44
+
45
  def chat_template_prompt():
46
  template = """
47
  Do not repeat questions and do not generate answer for user/human.Do not repeat yourself and do not create/generate dialogues.