scribbyotx
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,21 +1,3 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
-d $'{
|
5 |
-
"input": {
|
6 |
-
"width": 1024,
|
7 |
-
"height": 1024,
|
8 |
-
"prompt": "An astronaut riding a rainbow unicorn",
|
9 |
-
"refine": "no_refiner",
|
10 |
-
"scheduler": "K_EULER",
|
11 |
-
"lora_scale": 0.6,
|
12 |
-
"num_outputs": 1,
|
13 |
-
"guidance_scale": 7.5,
|
14 |
-
"apply_watermark": true,
|
15 |
-
"high_noise_frac": 0.8,
|
16 |
-
"negative_prompt": "",
|
17 |
-
"prompt_strength": 0.8,
|
18 |
-
"num_inference_steps": 50
|
19 |
-
}
|
20 |
-
}' \
|
21 |
-
http://localhost:5000/predictions
|
|
|
1 |
+
dimport gradio as gr
|
2 |
+
|
3 |
+
gr.load("models/stabilityai/stable-diffusion-xl-base-1.0").launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|