Silence1412 commited on
Commit
adbd187
·
1 Parent(s): ccd9bce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -30,7 +30,7 @@ st.session_state.t2m_mod = create_model(loc=the_type)
30
 
31
  prom = st.text_input("Prompt",'')
32
 
33
- c1,c2,c3,c4 = st.columns([1,1,1,2])
34
  c5,c6 = st.columns(2)
35
 
36
  with c1:
@@ -56,7 +56,6 @@ if create:
56
  if int(bu_3) == 1 :
57
  IMG = model(prom, width=int(sl_1), height=int(sl_2),
58
  num_inference_steps=int(bu_2),
59
- # guidance_scale = bu_3,
60
  generator=generator).images[0]
61
  st.image(IMG)
62
 
@@ -65,7 +64,6 @@ if create:
65
 
66
  IMGS = model(PROMS, width=int(sl_1), height=int(sl_2),
67
  num_inference_steps=int(bu_2),
68
- # guidance_scale = bu_3,
69
  generator=generator).images
70
 
71
  st.image(IMGS)
 
30
 
31
  prom = st.text_input("Prompt",'')
32
 
33
+ c1,c2,c3 = st.columns([2,2,2])
34
  c5,c6 = st.columns(2)
35
 
36
  with c1:
 
56
  if int(bu_3) == 1 :
57
  IMG = model(prom, width=int(sl_1), height=int(sl_2),
58
  num_inference_steps=int(bu_2),
 
59
  generator=generator).images[0]
60
  st.image(IMG)
61
 
 
64
 
65
  IMGS = model(PROMS, width=int(sl_1), height=int(sl_2),
66
  num_inference_steps=int(bu_2),
 
67
  generator=generator).images
68
 
69
  st.image(IMGS)