Spaces:
Runtime error
Runtime error
Commit
Β·
35f7043
1
Parent(s):
97f231f
update app
Browse files
app.py
CHANGED
|
@@ -20,9 +20,8 @@ from huggingface_hub import snapshot_download
|
|
| 20 |
|
| 21 |
example_path = os.path.join(os.path.dirname(__file__), 'examples')
|
| 22 |
|
| 23 |
-
access_token = os.getenv("HF_TOKEN")
|
| 24 |
fitdit_repo = "BoyuanJiang/FitDiT"
|
| 25 |
-
repo_path = snapshot_download(repo_id=fitdit_repo
|
| 26 |
|
| 27 |
weight_dtype = torch.bfloat16
|
| 28 |
device = "cuda"
|
|
|
|
| 20 |
|
| 21 |
example_path = os.path.join(os.path.dirname(__file__), 'examples')
|
| 22 |
|
|
|
|
| 23 |
fitdit_repo = "BoyuanJiang/FitDiT"
|
| 24 |
+
repo_path = snapshot_download(repo_id=fitdit_repo)
|
| 25 |
|
| 26 |
weight_dtype = torch.bfloat16
|
| 27 |
device = "cuda"
|