Update app.py
Browse files
app.py
CHANGED
|
@@ -152,10 +152,10 @@ def tune_hyperparameters(n_trials: int):
|
|
| 152 |
|
| 153 |
return f"Best Hyperparameters: {study.best_params}"
|
| 154 |
|
| 155 |
-
|
| 156 |
gr.Markdown("## 📊 AI Data Analysis Agent with Hyperparameter Optimization")
|
| 157 |
|
| 158 |
-
|
| 159 |
with gr.Column():
|
| 160 |
file_input = gr.File(label="Upload CSV Dataset", type="filepath")
|
| 161 |
notes_input = gr.Textbox(label="Dataset Notes (Optional)", lines=3)
|
|
|
|
| 152 |
|
| 153 |
return f"Best Hyperparameters: {study.best_params}"
|
| 154 |
|
| 155 |
+
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 156 |
gr.Markdown("## 📊 AI Data Analysis Agent with Hyperparameter Optimization")
|
| 157 |
|
| 158 |
+
with gr.Row():
|
| 159 |
with gr.Column():
|
| 160 |
file_input = gr.File(label="Upload CSV Dataset", type="filepath")
|
| 161 |
notes_input = gr.Textbox(label="Dataset Notes (Optional)", lines=3)
|