sxd3125 commited on
Commit
a37cfbb
1 Parent(s): 52d345b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,5 +22,5 @@ llm = models[model_to_run](api_token=API_KEY)
22
  pandas_ai = PandasAI(llm, conversational=False, verbose=True)
23
  # Enter Prompt related to data or Select from Pre-defined for demo purposes.
24
  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}
25
- response = pandas_ai.run(df, prompt=prompt,
26
  is_conversational_answer=False)
 
22
  pandas_ai = PandasAI(llm, conversational=False, verbose=True)
23
  # Enter Prompt related to data or Select from Pre-defined for demo purposes.
24
  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}
25
+ pandas_ai.run(df, prompt=prompt,
26
  is_conversational_answer=False)