walaa2022 commited on
Commit
560f6fc
·
verified ·
1 Parent(s): 324809c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -517,11 +517,11 @@ iface = gr.Interface(
517
  inputs=[
518
  gr.File(
519
  label="Income Statement (CSV)",
520
- info="Upload income statement in CSV format with numeric data columns"
521
  ),
522
  gr.File(
523
  label="Balance Sheet (CSV)",
524
- info="Upload balance sheet in CSV format with numeric data columns"
525
  )
526
  ],
527
  outputs=gr.Markdown(),
@@ -570,8 +570,7 @@ if __name__ == "__main__":
570
  share=False,
571
  server_name="0.0.0.0",
572
  server_port=7860,
573
- show_error=True,
574
- max_threads=4
575
  )
576
  except Exception as e:
577
  logger.error(f"Launch error: {str(e)}")
 
517
  inputs=[
518
  gr.File(
519
  label="Income Statement (CSV)",
520
+ file_types=[".csv"]
521
  ),
522
  gr.File(
523
  label="Balance Sheet (CSV)",
524
+ file_types=[".csv"]
525
  )
526
  ],
527
  outputs=gr.Markdown(),
 
570
  share=False,
571
  server_name="0.0.0.0",
572
  server_port=7860,
573
+ show_error=True
 
574
  )
575
  except Exception as e:
576
  logger.error(f"Launch error: {str(e)}")