Spaces:
Runtime error
Runtime error
Commit
•
d5614cd
1
Parent(s):
221beb1
Update app.py
Browse filesMade it more descriptive
app.py
CHANGED
@@ -17,9 +17,9 @@ def chatbot(input):
|
|
17 |
messages.append({"role": "assistant", "content": reply})
|
18 |
return reply
|
19 |
|
20 |
-
inputs = gr.inputs.Textbox(lines=7, label="Chat with The Better AI")
|
21 |
outputs = gr.outputs.Textbox(label="Reply")
|
22 |
|
23 |
-
gr.Interface(fn=chatbot, inputs=inputs, outputs=outputs, title="The Better AI",
|
24 |
-
description="
|
25 |
theme="compact").launch()
|
|
|
17 |
messages.append({"role": "assistant", "content": reply})
|
18 |
return reply
|
19 |
|
20 |
+
inputs = gr.inputs.Textbox(lines=7, label="Chat with The Better India's AI bot")
|
21 |
outputs = gr.outputs.Textbox(label="Reply")
|
22 |
|
23 |
+
gr.Interface(fn=chatbot, inputs=inputs, outputs=outputs, title="The Better India's AI Bot",
|
24 |
+
description="Anything you want to, from the world of The Better India. Sample questions include >>> where do I donate old toys in Bangalore? >>> stories of water conservation in India >>> any teenagers working in the areas of education? >>> and more",
|
25 |
theme="compact").launch()
|