Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -4,9 +4,13 @@ import os
4
 
5
  USERNAME = os.environ.get("USERNAME")
6
  PASSWORD = os.environ.get("PASSWORD")
7
-
8
 
9
  with gr.Blocks() as demo:
10
- gr.Markdown("# Welcome to the TradingGEN app")
 
 
 
 
 
11
 
12
- demo.launch(auth=(USERNAME,PASSWORD))
 
4
 
5
  USERNAME = os.environ.get("USERNAME")
6
  PASSWORD = os.environ.get("PASSWORD")
7
+ HF_TOKEN_KEY = os.environ.get("PKNAYAK_HF_TOKEN")
8
 
9
  with gr.Blocks() as demo:
10
+ gr.Markdown("# Welcome to the TradingGEN ")
11
+
12
+ gr.load(name="pknayak/newsAI_mvp", hf_token = HF_TOKEN_KEY)
13
+
14
+
15
+ demo.launch(auth=(USERNAME,PASSWORD))
16