Spaces:
Runtime error
Runtime error
Update gen.py
Browse files
gen.py
CHANGED
|
@@ -37,7 +37,7 @@ def download_pretrained_models(
|
|
| 37 |
os.makedirs(llama_weight_path)
|
| 38 |
os.makedirs(tokenizer_weight_path)
|
| 39 |
|
| 40 |
-
storage_client = storage.Client()
|
| 41 |
bucket = storage_client.bucket(bucket_name)
|
| 42 |
|
| 43 |
blobs = bucket.list_blobs(prefix=f"{ckpt_path}/")
|
|
|
|
| 37 |
os.makedirs(llama_weight_path)
|
| 38 |
os.makedirs(tokenizer_weight_path)
|
| 39 |
|
| 40 |
+
storage_client = storage.Client.create_anonymous_client()
|
| 41 |
bucket = storage_client.bucket(bucket_name)
|
| 42 |
|
| 43 |
blobs = bucket.list_blobs(prefix=f"{ckpt_path}/")
|