Update app.py
Browse files
app.py
CHANGED
@@ -150,11 +150,16 @@ def respond(
|
|
150 |
token = message.choices[0].delta.content
|
151 |
|
152 |
response += token
|
|
|
|
|
|
|
|
|
|
|
153 |
yield response
|
154 |
print("response:")
|
155 |
print(response)
|
156 |
-
output_check_result = game.check_output_for_word(response)
|
157 |
-
response = response + " " + input_check_result + " " + output_check_result
|
158 |
|
159 |
|
160 |
"""
|
|
|
150 |
token = message.choices[0].delta.content
|
151 |
|
152 |
response += token
|
153 |
+
|
154 |
+
output_check_result = game.check_output_for_word(response)
|
155 |
+
|
156 |
+
response = response + " " + input_check_result + " " + output_check_result
|
157 |
+
|
158 |
yield response
|
159 |
print("response:")
|
160 |
print(response)
|
161 |
+
#output_check_result = game.check_output_for_word(response)
|
162 |
+
#response = response + " " + input_check_result + " " + output_check_result
|
163 |
|
164 |
|
165 |
"""
|