DrDomedag commited on
Commit
53d6bc4
·
verified ·
1 Parent(s): 356d685

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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="Hi Elli",
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"),