Wootang01 commited on
Commit
f34d4f4
·
1 Parent(s): dd77e5c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -12,4 +12,5 @@ def predict(input, history=[]):
12
  response = tokenizer.decode(history[0]).replace("<|endoftext|>", "\n")
13
  return response, history
14
 
15
- gr.Interface(fn=predict, theme="grass", css=".footer {display:none !important}", title="Chatbot Two", inputs=["text", "state"], outputs=["text", "state"]).launch()
 
 
12
  response = tokenizer.decode(history[0]).replace("<|endoftext|>", "\n")
13
  return response, history
14
 
15
+ gr.Interface(fn=predict, theme="grass", css=".footer {display:none !important}", title="Chatbot Two",
16
+ inputs=[gr.inputs.Textbox(placeholder="Write a text message as if writing a text message to a human. Submit and the machine will attempt to respond with an appropriate text message."), "state"], outputs=["text", "state"]).launch()