Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,13 +3,13 @@ import gradio as gr
|
|
3 |
import inspect
|
4 |
import warnings
|
5 |
from typing import List, Optional, Union
|
6 |
-
|
|
|
|
|
7 |
import torch
|
8 |
from torch import autocast
|
9 |
from tqdm.auto import tqdm
|
10 |
-
|
11 |
from diffusers import StableDiffusionImg2ImgPipeline
|
12 |
-
|
13 |
from huggingface_hub import notebook_login
|
14 |
|
15 |
notebook_login()
|
|
|
3 |
import inspect
|
4 |
import warnings
|
5 |
from typing import List, Optional, Union
|
6 |
+
import requests
|
7 |
+
from io import BytesIO
|
8 |
+
from PIL import Image
|
9 |
import torch
|
10 |
from torch import autocast
|
11 |
from tqdm.auto import tqdm
|
|
|
12 |
from diffusers import StableDiffusionImg2ImgPipeline
|
|
|
13 |
from huggingface_hub import notebook_login
|
14 |
|
15 |
notebook_login()
|