Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ from dataclasses import dataclass
|
|
| 28 |
import math
|
| 29 |
from pathlib import Path
|
| 30 |
from typing import Any, Callable, Dict, List, Optional, Union
|
| 31 |
-
from huggingface_hub import hf_hub_download
|
| 32 |
from diffusers import DiffusionPipeline, AutoencoderTiny, AutoPipelineForImage2Image, FluxTransformer2DModel
|
| 33 |
import safetensors.torch
|
| 34 |
from safetensors.torch import load_file
|
|
|
|
| 28 |
import math
|
| 29 |
from pathlib import Path
|
| 30 |
from typing import Any, Callable, Dict, List, Optional, Union
|
| 31 |
+
from huggingface_hub import hf_hub_download, snapshot_download
|
| 32 |
from diffusers import DiffusionPipeline, AutoencoderTiny, AutoPipelineForImage2Image, FluxTransformer2DModel
|
| 33 |
import safetensors.torch
|
| 34 |
from safetensors.torch import load_file
|