Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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",
|
|
|
|
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()
|