jyo01 commited on
Commit
a25a8f7
·
verified ·
1 Parent(s): 30a49e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -15,9 +15,11 @@ import gradio as gr
15
  # Configuration
16
  ############################################
17
 
18
- # Replace with your actual tokens.
19
- HF_TOKEN = "YOUR_HF_TOKEN"
20
- GITHUB_TOKEN = "YOUR_GITHUB_TOKEN"
 
 
21
 
22
  ############################################
23
  # GitHub API Functions
 
15
  # Configuration
16
  ############################################
17
 
18
+ import os
19
+
20
+ HF_TOKEN = os.environ.get("HF_TOKEN")
21
+ GITHUB_TOKEN = os.environ.get("GITHUB_TOKEN")
22
+
23
 
24
  ############################################
25
  # GitHub API Functions