Spaces:
Runtime error
Runtime error
Commit
•
1aa849a
1
Parent(s):
5f1a92e
minor positioning change
Browse files
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
import numpy as np
|
3 |
import random
|
|
|
4 |
from diffusers import DiffusionPipeline
|
5 |
import torch
|
6 |
-
#import spaces [uncomment to use ZeroGPU]
|
7 |
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
9 |
model_repo_id = "stabilityai/sdxl-turbo" #Replace to the model you would like to use
|
|
|
1 |
import gradio as gr
|
2 |
import numpy as np
|
3 |
import random
|
4 |
+
#import spaces #[uncomment to use ZeroGPU]
|
5 |
from diffusers import DiffusionPipeline
|
6 |
import torch
|
|
|
7 |
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
9 |
model_repo_id = "stabilityai/sdxl-turbo" #Replace to the model you would like to use
|