Spaces:
Runtime error

markshep68 commited on
Commit
473dfc1
·
verified ·
1 Parent(s): 816d153

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
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
- inp
 
 
 
 
 
 
 
 
 
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
+