nestole commited on
Commit
94e890e
·
verified ·
1 Parent(s): f745570

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +1 -0
run.py CHANGED
@@ -136,6 +136,7 @@ def responsecritical(
136
  formatted_prompt = format_prompt(system+"\n"+prompt)
137
  stream = client.text_generation(formatted_prompt, **generate_kwargs, stream=True, details=True, return_full_text=False)
138
  outputc = ""
 
139
  for responsec in stream:
140
  outputc += responsec.token.text
141
  sentence_lower = outputc.lower()
 
136
  formatted_prompt = format_prompt(system+"\n"+prompt)
137
  stream = client.text_generation(formatted_prompt, **generate_kwargs, stream=True, details=True, return_full_text=False)
138
  outputc = ""
139
+ print(stream)
140
  for responsec in stream:
141
  outputc += responsec.token.text
142
  sentence_lower = outputc.lower()