lunarflu HF Staff commited on
Commit
db9a3a6
·
1 Parent(s): ff07a92
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -15,14 +15,15 @@ import matplotlib.image as mpimg
15
 
16
 
17
 
18
- #token update
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)