ehristoforu commited on
Commit
43af989
1 Parent(s): 71a5076

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -4,9 +4,7 @@ import io
4
  import random
5
  import os
6
  from PIL import Image
7
- from huggingface_hub import login, HfApi
8
-
9
- login(token=os.getenv("HF_READ_TOKEN"))
10
 
11
  API_URL = "https://api-inference.huggingface.co/models/openskyml/open-diffusion-v1"
12
  API_TOKEN = os.getenv("HF_READ_TOKEN") # it is free
 
4
  import random
5
  import os
6
  from PIL import Image
7
+ from datasets import load_dataset
 
 
8
 
9
  API_URL = "https://api-inference.huggingface.co/models/openskyml/open-diffusion-v1"
10
  API_TOKEN = os.getenv("HF_READ_TOKEN") # it is free