Update app.py
Browse files
app.py
CHANGED
@@ -140,8 +140,8 @@ def data_analysis_dashboard():
|
|
140 |
use_scope(f'visualization_{i+1}')
|
141 |
|
142 |
def generate_insights():
|
143 |
-
file = file_upload.
|
144 |
-
instructions = input.
|
145 |
|
146 |
if not file or not instructions:
|
147 |
put_text("Please upload a file and provide instructions.")
|
|
|
140 |
use_scope(f'visualization_{i+1}')
|
141 |
|
142 |
def generate_insights():
|
143 |
+
file = input.file_upload.value
|
144 |
+
instructions = input.input.value
|
145 |
|
146 |
if not file or not instructions:
|
147 |
put_text("Please upload a file and provide instructions.")
|