Spaces:
Running
on
Zero
Running
on
Zero
gokaygokay
commited on
Commit
•
1e813f2
1
Parent(s):
47b9af6
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ import gradio as gr
|
|
3 |
import torch
|
4 |
import random
|
5 |
from diffusers import DiffusionPipeline
|
|
|
6 |
|
7 |
# Initialize models
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
|
3 |
import torch
|
4 |
import random
|
5 |
from diffusers import DiffusionPipeline
|
6 |
+
import os
|
7 |
|
8 |
# Initialize models
|
9 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|