gokaygokay
commited on
Commit
•
4767a35
1
Parent(s):
ac745b0
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,7 @@ from transformers import AutoProcessor, AutoModelForCausalLM, pipeline
|
|
6 |
from diffusers import DiffusionPipeline
|
7 |
import random
|
8 |
import numpy as np
|
|
|
9 |
|
10 |
# Initialize models
|
11 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
|
6 |
from diffusers import DiffusionPipeline
|
7 |
import random
|
8 |
import numpy as np
|
9 |
+
import os
|
10 |
|
11 |
# Initialize models
|
12 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|