rairo commited on
Commit
2e9daa3
·
verified ·
1 Parent(s): 06c9f34

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -44,8 +44,8 @@ def bot():
44
  #user_question = data["user_question"]
45
  print(json_table)
46
  print(user_question)
47
- #data = eval(json_table)
48
- df = pd.DataFrame(json_table)
49
  #df['Profit'] = df['Profit'].apply(lambda x: "R{:.1f}".format((x)))
50
  #df['Revenue'] = df['Revenue'].apply(lambda x: "R{:.1f}".format((x)))
51
  llm = GooglePalm(temperature=0, google_api_key=os.environ['PALM'])
 
44
  #user_question = data["user_question"]
45
  print(json_table)
46
  print(user_question)
47
+ data = eval(json_table)
48
+ df = pd.DataFrame(data)
49
  #df['Profit'] = df['Profit'].apply(lambda x: "R{:.1f}".format((x)))
50
  #df['Revenue'] = df['Revenue'].apply(lambda x: "R{:.1f}".format((x)))
51
  llm = GooglePalm(temperature=0, google_api_key=os.environ['PALM'])