Spaces:
Runtime error
Runtime error
dron3flyv3r
commited on
Commit
·
5e8f5fe
1
Parent(s):
3ef9a12
Update HUGGINGFACE_API_KEY retrieval method
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
|
4 |
-
HUGGINGFACE_API_KEY = os.
|
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):
|