Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,13 +2,11 @@ from diffusers import AutoencoderKL, UNet2DConditionModel, StableDiffusionPipeli
|
|
2 |
import gradio as gr
|
3 |
import torch
|
4 |
from PIL import Image
|
5 |
-
import utils
|
6 |
import datetime
|
7 |
import time
|
8 |
import psutil
|
9 |
|
10 |
start_time = time.time()
|
11 |
-
is_colab = utils.is_google_colab()
|
12 |
|
13 |
class Model:
|
14 |
def __init__(self, name, path="", prefix=""):
|
|
|
2 |
import gradio as gr
|
3 |
import torch
|
4 |
from PIL import Image
|
|
|
5 |
import datetime
|
6 |
import time
|
7 |
import psutil
|
8 |
|
9 |
start_time = time.time()
|
|
|
10 |
|
11 |
class Model:
|
12 |
def __init__(self, name, path="", prefix=""):
|