Prathm commited on
Commit
b988aea
·
1 Parent(s): 2844562
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -255,11 +255,9 @@ if submit_button: # Execute when the submit button is pressed
255
  w2 = clip_optimized_latent(text2, seed2, iters)
256
  st.session_state['w2-np'] = w2
257
 
258
- try:
259
- input_im, output_im = generate_image(content, style, truncation, c0, c1, c2, c3, c4, c5, c6, start_layer, end_layer,st.session_state['w1-np'],st.session_state['w2-np'])
260
- st.image(input_im, caption="Input Image")
261
- st.image(output_im, caption="Output Image")
262
- except:
263
- pass
264
 
265
 
 
255
  w2 = clip_optimized_latent(text2, seed2, iters)
256
  st.session_state['w2-np'] = w2
257
 
258
+ input_im, output_im = generate_image(content, style, truncation, c0, c1, c2, c3, c4, c5, c6, start_layer, end_layer,st.session_state['w1-np'],st.session_state['w2-np'])
259
+ st.image(input_im, caption="Input Image")
260
+ st.image(output_im, caption="Output Image")
261
+
 
 
262
 
263