Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ import random
|
|
5 |
import spaces #[uncomment to use ZeroGPU]
|
6 |
from diffusers import StableDiffusionXLPipeline, AutoencoderKL
|
7 |
import torch
|
|
|
8 |
|
9 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
10 |
model_repo_id = "RunDiffusion/Juggernaut-XL-v9" # Replace to the model you would like to use
|
|
|
5 |
import spaces #[uncomment to use ZeroGPU]
|
6 |
from diffusers import StableDiffusionXLPipeline, AutoencoderKL
|
7 |
import torch
|
8 |
+
from typing import Tuple
|
9 |
|
10 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
11 |
model_repo_id = "RunDiffusion/Juggernaut-XL-v9" # Replace to the model you would like to use
|