ChenyangSi commited on
Commit
60ed05b
1 Parent(s): 8870daa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -11
app.py CHANGED
@@ -131,18 +131,8 @@ with block:
131
  with gr.Group():
132
  with gr.Row():
133
  sd_options = gr.Dropdown(["SD1.4", "SD1.5", "SD2.1"], label="SD options")
134
-
135
- # if sd_options == 'SD1.5':
136
- # sd = 1.5
137
- # elif sd_options == 'SD2.1':
138
- # sd = 2.1
139
- # else:
140
- # sd = 1.4
141
-
142
- # pip = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
143
- # pip = pip.to("cuda")
144
 
145
- with gr.Row():
146
  with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
147
  with gr.Column():
148
  text = gr.Textbox(
 
131
  with gr.Group():
132
  with gr.Row():
133
  sd_options = gr.Dropdown(["SD1.4", "SD1.5", "SD2.1"], label="SD options")
 
 
 
 
 
 
 
 
 
 
134
 
135
+ with gr.Column():
136
  with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
137
  with gr.Column():
138
  text = gr.Textbox(