Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,6 +31,7 @@ import spaces
|
|
| 31 |
from safetensors.torch import load_file
|
| 32 |
from diffusers import FluxPipeline
|
| 33 |
import torch
|
|
|
|
| 34 |
|
| 35 |
# 캐시 경로 설정
|
| 36 |
cache_path = path.join(path.dirname(path.abspath(__file__)), "models")
|
|
|
|
| 31 |
from safetensors.torch import load_file
|
| 32 |
from diffusers import FluxPipeline
|
| 33 |
import torch
|
| 34 |
+
from os import path # 이 줄을 추가
|
| 35 |
|
| 36 |
# 캐시 경로 설정
|
| 37 |
cache_path = path.join(path.dirname(path.abspath(__file__)), "models")
|