chatbotdeveloper2025genai commited on
Commit
3efc3a2
·
verified ·
1 Parent(s): cc4d793

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -296,10 +296,10 @@ with gr.Blocks(title="AI Personal Finance Coach") as demo:
296
  # Replacing 'info' with Markdown
297
  gr.Markdown("<small>_Upload a file with 'Key: Value' pairs (e.g., 'Salary: 100000', 'Bills: 30000')._</small>")
298
 
 
299
  download_btn = gr.DownloadButton(
300
  label="Download Portfolio Report (.txt)",
301
  value=lambda: "No data generated yet.", # Initial dummy value
302
- filename="financial_report.txt",
303
  scale=0
304
  )
305
 
 
296
  # Replacing 'info' with Markdown
297
  gr.Markdown("<small>_Upload a file with 'Key: Value' pairs (e.g., 'Salary: 100000', 'Bills: 30000')._</small>")
298
 
299
+ # Removed 'filename' argument to fix compatibility issue
300
  download_btn = gr.DownloadButton(
301
  label="Download Portfolio Report (.txt)",
302
  value=lambda: "No data generated yet.", # Initial dummy value
 
303
  scale=0
304
  )
305