Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -135,10 +135,11 @@ with gr.Blocks() as demo:
|
|
135 |
def bot(history):
|
136 |
invitation = "ChatDoctor: "
|
137 |
human_invitation = "Patient: "
|
138 |
-
|
|
|
139 |
question = ""
|
140 |
for each_ques in history:
|
141 |
-
question = each_ques[0]+"
|
142 |
|
143 |
response = csv_prompter(question,csv_name)
|
144 |
|
|
|
135 |
def bot(history):
|
136 |
invitation = "ChatDoctor: "
|
137 |
human_invitation = "Patient: "
|
138 |
+
print(history)
|
139 |
+
|
140 |
question = ""
|
141 |
for each_ques in history:
|
142 |
+
question = each_ques[0]+" ; "
|
143 |
|
144 |
response = csv_prompter(question,csv_name)
|
145 |
|