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 = input
|
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')
|
144 |
+
instructions = input('instructions')
|
145 |
|
146 |
if not file or not instructions:
|
147 |
put_text("Please upload a file and provide instructions.")
|