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