Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,10 @@ 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
|
|
|
4 |
#import spaces #[uncomment to use ZeroGPU]
|
5 |
from diffusers import DiffusionPipeline
|
6 |
import torch
|
7 |
+
import os
|
8 |
+
|
9 |
+
# os.system('pip install "unimernet[full]"')
|
10 |
+
os.system('pwd && ls -l')
|
11 |
|
12 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
13 |
model_repo_id = "stabilityai/sdxl-turbo" #Replace to the model you would like to use
|