eudoxie commited on
Commit
510b1d4
·
verified ·
1 Parent(s): 9572d7a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -56,12 +56,8 @@ def rag_memory_stream(message, history):
56
  greetingsmessage = """Hello! Welcome to MediGuide ChatBot. I'm here to provide you with quick and accurate information on medical drugs.
57
  Whether you need details on usage, side effects , etc feel free to ask. Let's enhance patient care together!"""
58
 
59
- initial_history = [("", greetingsmessage)]
60
 
61
  title = "MediGuide ChatBot"
62
- chatbot = gr.Chatbot([{"role":"assistant", "content":greetingsmessage}],
63
- type="messages",
64
- height="60vh")
65
 
66
  demo = gr.Interface(
67
 
@@ -72,7 +68,6 @@ demo = gr.Interface(
72
  allow_flagging="never",
73
  fill_height=True,
74
  theme=gr.themes.Soft(),
75
- chatbot=chatbot
76
  )
77
 
78
 
 
56
  greetingsmessage = """Hello! Welcome to MediGuide ChatBot. I'm here to provide you with quick and accurate information on medical drugs.
57
  Whether you need details on usage, side effects , etc feel free to ask. Let's enhance patient care together!"""
58
 
 
59
 
60
  title = "MediGuide ChatBot"
 
 
 
61
 
62
  demo = gr.Interface(
63
 
 
68
  allow_flagging="never",
69
  fill_height=True,
70
  theme=gr.themes.Soft(),
 
71
  )
72
 
73