Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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'
|
| 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 |
|