Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
import pandas as pd
|
2 |
|
3 |
|
4 |
-
df = pd.read_json("
|
5 |
|
6 |
context_data = []
|
7 |
for i in range(len(df)):
|
8 |
context = ""
|
9 |
-
for j in range(
|
10 |
context += df.columns[j]
|
11 |
context += ": "
|
12 |
context += df.iloc[i][j]
|
|
|
1 |
import pandas as pd
|
2 |
|
3 |
|
4 |
+
df = pd.read_json("./tourisme_chatbot.json")
|
5 |
|
6 |
context_data = []
|
7 |
for i in range(len(df)):
|
8 |
context = ""
|
9 |
+
for j in range(4):
|
10 |
context += df.columns[j]
|
11 |
context += ": "
|
12 |
context += df.iloc[i][j]
|