Spaces:
Running
on
Zero
Running
on
Zero
fallenshock
commited on
Commit
•
0cb86de
1
Parent(s):
d00ce10
444
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ def FlowEditRun(
|
|
84 |
if model_type == 'SD3':
|
85 |
try:
|
86 |
print(f'token: {oauth_token.token}')
|
87 |
-
huggingface_hub.get_hf_file_metadata(huggingface_hub.hf_hub_url(SD3STRING, '
|
88 |
token=oauth_token.token)
|
89 |
print('Has Access')
|
90 |
# except huggingface_hub.utils._errors.GatedRepoError:
|
|
|
84 |
if model_type == 'SD3':
|
85 |
try:
|
86 |
print(f'token: {oauth_token.token}')
|
87 |
+
huggingface_hub.get_hf_file_metadata(huggingface_hub.hf_hub_url(SD3STRING, 'transformer/diffusion_pytorch_model.safetensors'),
|
88 |
token=oauth_token.token)
|
89 |
print('Has Access')
|
90 |
# except huggingface_hub.utils._errors.GatedRepoError:
|