Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,4 +37,12 @@ def chat_with_mistral(user_input):
|
|
| 37 |
# Create Gradio UI
|
| 38 |
chatbot = gr.Interface(
|
| 39 |
fn=chat_with_mistral,
|
| 40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
# Create Gradio UI
|
| 38 |
chatbot = gr.Interface(
|
| 39 |
fn=chat_with_mistral,
|
| 40 |
+
inputs=gr.Textbox(lines=2, placeholder="Ask an immigration question..."),
|
| 41 |
+
outputs="text",
|
| 42 |
+
title="🛂 Mistral 7B Immigration Chatbot",
|
| 43 |
+
description="Ask questions about immigration and work visas."
|
| 44 |
+
)
|
| 45 |
+
|
| 46 |
+
# Launch app
|
| 47 |
+
chatbot.launch()
|
| 48 |
+
|