Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ def respond(
|
|
69 |
print("An exception occurred")
|
70 |
|
71 |
#adding more references
|
72 |
-
df = pd.read_csv("moslem-bot-reference.csv")
|
73 |
for index, row in df.iterrows():
|
74 |
messages.append({"role": "user", "content": row['user']})
|
75 |
messages.append({"role": "assistant", "content": row['assistant']})
|
|
|
69 |
print("An exception occurred")
|
70 |
|
71 |
#adding more references
|
72 |
+
df = pd.read_csv("moslem-bot-reference.csv", sep='|')
|
73 |
for index, row in df.iterrows():
|
74 |
messages.append({"role": "user", "content": row['user']})
|
75 |
messages.append({"role": "assistant", "content": row['assistant']})
|