Update app.py
Browse files
app.py
CHANGED
@@ -151,7 +151,7 @@ def respond(
|
|
151 |
print("response:")
|
152 |
print(response)
|
153 |
output_check_result = game.check_output_for_word(response)
|
154 |
-
response = response + " " + input_check_result + " " output_check_result
|
155 |
|
156 |
|
157 |
"""
|
@@ -159,7 +159,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
159 |
"""
|
160 |
demo = gr.ChatInterface(
|
161 |
respond,
|
162 |
-
title="
|
163 |
additional_inputs=[
|
164 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
165 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
|
|
151 |
print("response:")
|
152 |
print(response)
|
153 |
output_check_result = game.check_output_for_word(response)
|
154 |
+
response = response + " " + input_check_result + " " + output_check_result
|
155 |
|
156 |
|
157 |
"""
|
|
|
159 |
"""
|
160 |
demo = gr.ChatInterface(
|
161 |
respond,
|
162 |
+
title="The Game",
|
163 |
additional_inputs=[
|
164 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
165 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|