Spaces:
Runtime error
Runtime error
Bodybuilding runner - Updates to bot name
Browse files
app.py
CHANGED
@@ -19,8 +19,8 @@ def chatbot(input):
|
|
19 |
messages.append({"role": "assistant", "content": reply})
|
20 |
return reply
|
21 |
|
22 |
-
inputs = gr.inputs.Textbox(lines=7, label="
|
23 |
-
outputs = gr.outputs.Textbox(label="
|
24 |
|
25 |
-
iface = gr.Interface(fn=chatbot, inputs=inputs, outputs=outputs, title="
|
26 |
iface.launch()
|
|
|
19 |
messages.append({"role": "assistant", "content": reply})
|
20 |
return reply
|
21 |
|
22 |
+
inputs = gr.inputs.Textbox(lines=7, label="Ask me anything about bodybuilding and running")
|
23 |
+
outputs = gr.outputs.Textbox(label="Response")
|
24 |
|
25 |
+
iface = gr.Interface(fn=chatbot, inputs=inputs, outputs=outputs, title="Your Bodybuilding Runner Bot", description="Ask anything about bodybuilding and running", theme="compact").launch(share=False)
|
26 |
iface.launch()
|