Spaces:
Runtime error
Runtime error
osanseviero
commited on
Commit
Β·
0361319
1
Parent(s):
f7a4650
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ app = Flask(__name__, static_url_path='/static')
|
|
13 |
CORS(app)
|
14 |
|
15 |
TOKEN = os.environ.get('dataset_token')
|
16 |
-
dataset = load_dataset("
|
17 |
Path("static/images").mkdir(parents=True, exist_ok=True)
|
18 |
|
19 |
# extract images and prompts from dataset and save to dis
|
|
|
13 |
CORS(app)
|
14 |
|
15 |
TOKEN = os.environ.get('dataset_token')
|
16 |
+
dataset = load_dataset("huggingface-projects/wordalle_prompts", use_auth_token=TOKEN)
|
17 |
Path("static/images").mkdir(parents=True, exist_ok=True)
|
18 |
|
19 |
# extract images and prompts from dataset and save to dis
|