sxd3125 commited on
Commit
3317fc5
1 Parent(s): 4bf3795

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -25,3 +25,4 @@ pandas_ai = PandasAI(llm, save_charts =True, conversational=False, verbose=True)
25
  prompt = 'Plot the histogram of countries showing for each the gdp, using different colors for each bar' #@param [ "What is the relation between GDP and Happines Index", "Plot the histogram of countries showing for each the gpd, using different colors for each bar", "GDP of Top 5 Happiest Countries?"] {allow-input: true}
26
  response = pandas_ai.run(df, prompt=prompt,
27
  is_conversational_answer=False)
 
 
25
  prompt = 'Plot the histogram of countries showing for each the gdp, using different colors for each bar' #@param [ "What is the relation between GDP and Happines Index", "Plot the histogram of countries showing for each the gpd, using different colors for each bar", "GDP of Top 5 Happiest Countries?"] {allow-input: true}
26
  response = pandas_ai.run(df, prompt=prompt,
27
  is_conversational_answer=False)
28
+ response.plot()