petrified commited on
Commit
88274a5
·
verified ·
1 Parent(s): 3949d30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -134,7 +134,7 @@ def random_response(message, history):
134
  summary = lida.summarize(df_data)
135
 
136
  print(f'*'*50)
137
- goals = lida.goals(summary, n=1, textgen_config=text_gen_config,persona=f'Do not use white color for the line or bar.Use White background for the graph.Show the average line.An data analyst of the company who want to know {question}')
138
 
139
  # ValueError: Unsupported library. Choose from 'matplotlib', 'seaborn', 'plotly', 'bokeh', 'ggplot', 'altair'.
140
 
@@ -197,7 +197,7 @@ with gr.Blocks() as demo:
197
 
198
  # 示例组件,始终可见
199
  examples = gr.Examples(
200
- examples=['Top 10 prod_cate sales rank', 'Top product in category Seafood','Sum sales trend of product name called Lobster per day'],
201
  inputs=chat_input
202
  )
203
 
 
134
  summary = lida.summarize(df_data)
135
 
136
  print(f'*'*50)
137
+ goals = lida.goals(summary, n=1, textgen_config=text_gen_config,persona=f'Use color RoyalBlue#4169E1 for the line or bar.Show the average value line.An data analyst of the company who want to know {question}')
138
 
139
  # ValueError: Unsupported library. Choose from 'matplotlib', 'seaborn', 'plotly', 'bokeh', 'ggplot', 'altair'.
140
 
 
197
 
198
  # 示例组件,始终可见
199
  examples = gr.Examples(
200
+ examples=['Top 10 prod_cate sales rank', 'Top product in category Seafood','Sum sales trend of product name called Lobster by time per day'],
201
  inputs=chat_input
202
  )
203