Arafath10 commited on
Commit
2fd10b1
1 Parent(s): d2e31be

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -40,7 +40,7 @@ def convert_image_to_base64(image_path):
40
  llm = OpenAI(api_token=secret,save_charts=True)
41
  df = pd.read_csv("233.csv")
42
  sdf = SmartDataframe(df, config={"llm": llm})
43
- sdf.chat(query)
44
  image_path = "exports/charts/temp_chart.png" # Replace with your image's path
45
  base64str = convert_image_to_base64(image_path)
46
 
 
40
  llm = OpenAI(api_token=secret,save_charts=True)
41
  df = pd.read_csv("233.csv")
42
  sdf = SmartDataframe(df, config={"llm": llm})
43
+ sdf.chat("give bar chart")
44
  image_path = "exports/charts/temp_chart.png" # Replace with your image's path
45
  base64str = convert_image_to_base64(image_path)
46