bluenevus commited on
Commit
a1eaab5
·
verified ·
1 Parent(s): 3d3563b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.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.")
 
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.")