Update run.py
Browse files
run.py
CHANGED
@@ -136,6 +136,7 @@ def responsecritical(
|
|
136 |
formatted_promptc = format_prompt(systemc+"\n"+prompt)
|
137 |
streamc = client.text_generation(formatted_promptc, **generate_kwargs, stream=True, details=True, return_full_text=False)
|
138 |
outputc = ""
|
|
|
139 |
for responsec in streamc:
|
140 |
outputc += responsec.token.text
|
141 |
sentence_lower = outputc.lower()
|
|
|
136 |
formatted_promptc = format_prompt(systemc+"\n"+prompt)
|
137 |
streamc = client.text_generation(formatted_promptc, **generate_kwargs, stream=True, details=True, return_full_text=False)
|
138 |
outputc = ""
|
139 |
+
print(streamc)
|
140 |
for responsec in streamc:
|
141 |
outputc += responsec.token.text
|
142 |
sentence_lower = outputc.lower()
|