sairamn commited on
Commit
0b02683
·
1 Parent(s): e150a84

Added app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -45,14 +45,13 @@ def chatbot(user_query):
45
 
46
  iface = gr.Interface(
47
  fn=chatbot,
48
- inputs=gr.Textbox(label="Enter your query here:", placeholder="Type your question...", lines=2, interactive=True),
49
- outputs=gr.Textbox(label="Response:", lines=4, interactive=False),
50
  title="MedChat: Your Medicine Assistant",
51
  description=(
52
  "Welcome to MedChat! Ask me about any medicine and get accurate and relevant information. "
53
  "I am here to assist you with medicine-related queries only."
54
  ),
55
- theme="compact",
56
  examples=[
57
  "What are the uses of Paracetamol?",
58
  "Can I take Ibuprofen during pregnancy?",
 
45
 
46
  iface = gr.Interface(
47
  fn=chatbot,
48
+ inputs=gr.Textbox(label="Enter your query here:", placeholder="Type your question...", lines=2),
49
+ outputs=gr.Textbox(label="Response:", lines=4),
50
  title="MedChat: Your Medicine Assistant",
51
  description=(
52
  "Welcome to MedChat! Ask me about any medicine and get accurate and relevant information. "
53
  "I am here to assist you with medicine-related queries only."
54
  ),
 
55
  examples=[
56
  "What are the uses of Paracetamol?",
57
  "Can I take Ibuprofen during pregnancy?",