Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from gradio_client import Client
|
3 |
import os
|
4 |
|
5 |
-
|
6 |
|
7 |
def get_instantID(portrait_in, prompt):
|
8 |
client = Client("https://fffiloni-instantid.hf.space/", hf_token=hf_token)
|
|
|
2 |
from gradio_client import Client
|
3 |
import os
|
4 |
|
5 |
+
hf_token = os.environ.get("HF_TKN")
|
6 |
|
7 |
def get_instantID(portrait_in, prompt):
|
8 |
client = Client("https://fffiloni-instantid.hf.space/", hf_token=hf_token)
|