azunre commited on
Commit
999dd31
1 Parent(s): da64ad8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,5 +1,8 @@
 
1
  import gradio as gr
2
 
 
 
3
  iface = gr.load(name="Ghana-NLP/Khaya-chat-bot", hf_token = MY_HF_TOKEN_KEY)
4
 
5
  iface.launch()
 
1
+ import os
2
  import gradio as gr
3
 
4
+ MY_HF_TOKEN_KEY = os.environ["MY_HF_TOKEN_KEY"]
5
+
6
  iface = gr.load(name="Ghana-NLP/Khaya-chat-bot", hf_token = MY_HF_TOKEN_KEY)
7
 
8
  iface.launch()