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