Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ The data file is passed to you as the variable data_file, it is a pandas datafra
|
|
86 |
DO NOT try to load data_file, it is already a dataframe pre-loaded in your python interpreter!
|
87 |
"""
|
88 |
|
89 |
-
example_notes="""This data is about the
|
90 |
|
91 |
def get_images_in_directory(directory):
|
92 |
image_extensions = {'.png', '.jpg', '.jpeg', '.gif', '.bmp', '.tiff'}
|
@@ -145,7 +145,7 @@ with gr.Blocks(
|
|
145 |
secondary_hue=gr.themes.colors.blue,
|
146 |
)
|
147 |
) as demo:
|
148 |
-
gr.Markdown("""# Agentville Data
|
149 |
|
150 |
Drop a `.csv` file below, add notes to describe this data if needed, and **Agents powered by Gemini and Llama-3.1-70B will analyze the file content and does the analysis for you!**""")
|
151 |
file_input = gr.File(label="Your file to analyze")
|
@@ -162,7 +162,7 @@ Drop a `.csv` file below, add notes to describe this data if needed, and **Agent
|
|
162 |
),
|
163 |
)
|
164 |
gr.Examples(
|
165 |
-
examples=[["./example/
|
166 |
inputs=[file_input, text_input],
|
167 |
cache_examples=False
|
168 |
)
|
|
|
86 |
DO NOT try to load data_file, it is already a dataframe pre-loaded in your python interpreter!
|
87 |
"""
|
88 |
|
89 |
+
example_notes="""This data is about the telco churn data. I am interested in understanding the factors behind the churn."""
|
90 |
|
91 |
def get_images_in_directory(directory):
|
92 |
image_extensions = {'.png', '.jpg', '.jpeg', '.gif', '.bmp', '.tiff'}
|
|
|
145 |
secondary_hue=gr.themes.colors.blue,
|
146 |
)
|
147 |
) as demo:
|
148 |
+
gr.Markdown("""# Agentville Autonomous Data Exploration ๐๐
|
149 |
|
150 |
Drop a `.csv` file below, add notes to describe this data if needed, and **Agents powered by Gemini and Llama-3.1-70B will analyze the file content and does the analysis for you!**""")
|
151 |
file_input = gr.File(label="Your file to analyze")
|
|
|
162 |
),
|
163 |
)
|
164 |
gr.Examples(
|
165 |
+
examples=[["./example/churn.csv", example_notes]],
|
166 |
inputs=[file_input, text_input],
|
167 |
cache_examples=False
|
168 |
)
|