Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,6 +55,10 @@ with gr.Blocks() as demo:
|
|
| 55 |
gr.Markdown("# Mistral Perspective Chatbot & Foundation Finder")
|
| 56 |
|
| 57 |
with gr.Tab("💬 Chatbot"):
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
chatbot = gr.Chatbot()
|
| 59 |
msg = gr.Textbox(placeholder="Ask me anything...", show_label=False)
|
| 60 |
state = gr.State([]) # keeps conversation history
|
|
|
|
| 55 |
gr.Markdown("# Mistral Perspective Chatbot & Foundation Finder")
|
| 56 |
|
| 57 |
with gr.Tab("💬 Chatbot"):
|
| 58 |
+
perspective = gr.Textbox(
|
| 59 |
+
label="Enter your philanthropic perspective",
|
| 60 |
+
placeholder="e.g. Environmental philanthropist emphasizing animal protection while fostering children's education"
|
| 61 |
+
)
|
| 62 |
chatbot = gr.Chatbot()
|
| 63 |
msg = gr.Textbox(placeholder="Ask me anything...", show_label=False)
|
| 64 |
state = gr.State([]) # keeps conversation history
|