Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ import os
|
|
| 7 |
|
| 8 |
# Thiết lập thiết bị và kiểu dữ liệu
|
| 9 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 10 |
-
model_repo_id = "
|
| 11 |
|
| 12 |
if torch.cuda.is_available():
|
| 13 |
dtype = torch.float16
|
|
|
|
| 7 |
|
| 8 |
# Thiết lập thiết bị và kiểu dữ liệu
|
| 9 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 10 |
+
model_repo_id = "stable-diffusion-v1-5/stable-diffusion-v1-5" # Mô hình Segmind/Tiny-SD
|
| 11 |
|
| 12 |
if torch.cuda.is_available():
|
| 13 |
dtype = torch.float16
|