Wootang01 commited on
Commit
67b67da
·
1 Parent(s): 89dff8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -2,12 +2,7 @@ import gradio as gr
2
 
3
  models =["CompVis/stable-diffusion-v1-4", "runwayml/stable-diffusion-v1-5", "stabilityai/stable-diffusion-2-1", "stabilityai/stable-diffusion-2-1-base"]
4
 
5
- model_1=models[1]
6
- model_2=models[2]
7
- model_3=models[3]
8
- model_4=models[4]
9
-
10
- gr.Interface.load(f"models/{model_1}",live=False,preprocess=True, postprocess=False).launch()
11
 
12
 
13
  #import diffusers
 
2
 
3
  models =["CompVis/stable-diffusion-v1-4", "runwayml/stable-diffusion-v1-5", "stabilityai/stable-diffusion-2-1", "stabilityai/stable-diffusion-2-1-base"]
4
 
5
+ gr.Interface.load("CompVis/stable-diffusion-v1-4", live=False,preprocess=True, postprocess=False).launch()
 
 
 
 
 
6
 
7
 
8
  #import diffusers