t2
Browse files
app.py
CHANGED
@@ -15,14 +15,15 @@ import matplotlib.image as mpimg
|
|
15 |
|
16 |
|
17 |
|
18 |
-
|
19 |
#todos
|
20 |
#alert
|
21 |
|
22 |
# Get Gradio client
|
23 |
jojogan = gradio_client.Client("akhaliq/JoJoGAN")
|
24 |
|
25 |
-
|
|
|
26 |
#deepfloydif
|
27 |
#df = Client("DeepFloyd/IF") #not reliable at the moment
|
28 |
df = Client("huggingface-projects/IF", hf_token=DFIF_TOKEN)
|
|
|
15 |
|
16 |
|
17 |
|
18 |
+
|
19 |
#todos
|
20 |
#alert
|
21 |
|
22 |
# Get Gradio client
|
23 |
jojogan = gradio_client.Client("akhaliq/JoJoGAN")
|
24 |
|
25 |
+
#token update
|
26 |
+
DFIF_TOKEN = os.getenv('DFIF_TOKEN')
|
27 |
#deepfloydif
|
28 |
#df = Client("DeepFloyd/IF") #not reliable at the moment
|
29 |
df = Client("huggingface-projects/IF", hf_token=DFIF_TOKEN)
|