Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
import gradio as gr
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
from datasets import load_dataset
|
6 |
from PIL import Image
|
7 |
-
|
8 |
-
|
9 |
import re
|
10 |
import os
|
11 |
import requests
|
|
|
1 |
import gradio as gr
|
2 |
+
import torch
|
3 |
+
from torch import autocast
|
4 |
+
from diffusers import StableDiffusionPipeline
|
5 |
from datasets import load_dataset
|
6 |
from PIL import Image
|
7 |
+
from io import BytesIO
|
8 |
+
import base64
|
9 |
import re
|
10 |
import os
|
11 |
import requests
|