Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -4,9 +4,9 @@ import requests
|
|
4 |
import random
|
5 |
r = requests.get(f'https://huggingface.co/spaces/xp3857/text-to-image/raw/main/css.css')
|
6 |
css = r.text
|
|
|
7 |
|
8 |
-
|
9 |
-
model = gr.Interface.load(f"models/$name2")
|
10 |
models=[
|
11 |
gr.Interface.load(f"models/{name2}"),
|
12 |
gr.Interface.load(f"models/{name2}"),
|
|
|
4 |
import random
|
5 |
r = requests.get(f'https://huggingface.co/spaces/xp3857/text-to-image/raw/main/css.css')
|
6 |
css = r.text
|
7 |
+
name2 = "runwayml/stable-diffusion-v1-5"
|
8 |
|
9 |
+
model = gr.Interface.load(f"models/{name2}")
|
|
|
10 |
models=[
|
11 |
gr.Interface.load(f"models/{name2}"),
|
12 |
gr.Interface.load(f"models/{name2}"),
|