Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,10 +8,12 @@ import random
|
|
8 |
import gradio as gr
|
9 |
import numpy as np
|
10 |
import PIL.Image
|
|
|
11 |
import spaces
|
12 |
import torch
|
13 |
from diffusers import AutoencoderKL, DiffusionPipeline
|
14 |
|
|
|
15 |
DESCRIPTION = "# AI 作画"
|
16 |
if not torch.cuda.is_available():
|
17 |
DESCRIPTION += "\n<p>Running on CPU 🥶 This demo does not work on CPU.</p>"
|
|
|
8 |
import gradio as gr
|
9 |
import numpy as np
|
10 |
import PIL.Image
|
11 |
+
import requests
|
12 |
import spaces
|
13 |
import torch
|
14 |
from diffusers import AutoencoderKL, DiffusionPipeline
|
15 |
|
16 |
+
|
17 |
DESCRIPTION = "# AI 作画"
|
18 |
if not torch.cuda.is_available():
|
19 |
DESCRIPTION += "\n<p>Running on CPU 🥶 This demo does not work on CPU.</p>"
|