Spaces:
Build error
Build error
kavitha-19 commited on
Commit ·
cdd7e4a
1
Parent(s): b873f79
updated code
Browse files
app.py
CHANGED
|
@@ -310,7 +310,7 @@ def app():
|
|
| 310 |
|
| 311 |
# Left column: After clicking "Run Model" button, display the final output style transfer image
|
| 312 |
with right_col:
|
| 313 |
-
if uploaded_image is not None and selected_image in
|
| 314 |
# Get the selected style image
|
| 315 |
# style_image_path = style_images[selected_model]
|
| 316 |
|
|
|
|
| 310 |
|
| 311 |
# Left column: After clicking "Run Model" button, display the final output style transfer image
|
| 312 |
with right_col:
|
| 313 |
+
if uploaded_image is not None and selected_image in models_dict:
|
| 314 |
# Get the selected style image
|
| 315 |
# style_image_path = style_images[selected_model]
|
| 316 |
|