Spaces:
Runtime error
Runtime error
Test edit
Browse files
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 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
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 |
|