Update main.py
Browse files
main.py
CHANGED
@@ -45,7 +45,7 @@ def bot():
|
|
45 |
#user_question = data["user_question"]
|
46 |
#print(json_table)
|
47 |
print(user_question)
|
48 |
-
|
49 |
df = pd.DataFrame(json_table)
|
50 |
print(list(df))
|
51 |
#df = df.rename(columns={'dateupdated': 'date'})
|
|
|
45 |
#user_question = data["user_question"]
|
46 |
#print(json_table)
|
47 |
print(user_question)
|
48 |
+
data = eval(str(json_table))
|
49 |
df = pd.DataFrame(json_table)
|
50 |
print(list(df))
|
51 |
#df = df.rename(columns={'dateupdated': 'date'})
|