girishwangikar commited on
Commit
9fe1f41
·
verified ·
1 Parent(s): fd9f7d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -814,4 +814,7 @@ with gr.Blocks(title="Farmer Ledger Tracker", theme=gr.themes.Soft()) as app:
814
 
815
 
816
  if __name__ == "__main__":
817
- app.launch()
 
 
 
 
814
 
815
 
816
  if __name__ == "__main__":
817
+ username = os.environ.get("APP_USERNAME")
818
+ password = os.environ.get("APP_PASSWORD")
819
+
820
+ app.launch(auth=(username, password))