dron3flyv3r commited on
Commit
5e8f5fe
·
1 Parent(s): 3ef9a12

Update HUGGINGFACE_API_KEY retrieval method

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  import os
3
 
4
- HUGGINGFACE_API_KEY = os.getenv("HUGGINGFACE_API_KEY")
5
 
6
 
7
  def greet(name):
 
1
  import gradio as gr
2
  import os
3
 
4
+ HUGGINGFACE_API_KEY = os.environ["HUGGINGFACE_API_KEY"]
5
 
6
 
7
  def greet(name):