Spaces:
Runtime error
Runtime error
Update ex_app.py
Browse files
ex_app.py
CHANGED
|
@@ -49,7 +49,7 @@ if uploaded_file is not None:
|
|
| 49 |
run = st.button('Generate Art')
|
| 50 |
my_bar = st.progress(0)
|
| 51 |
params = neural_style.TransferParams()
|
| 52 |
-
params.gpu = "c"
|
| 53 |
params.backend = "mkl"
|
| 54 |
params.image_size = 400
|
| 55 |
params.content_image = uploaded_file
|
|
|
|
| 49 |
run = st.button('Generate Art')
|
| 50 |
my_bar = st.progress(0)
|
| 51 |
params = neural_style.TransferParams()
|
| 52 |
+
params.gpu = 0#"c"
|
| 53 |
params.backend = "mkl"
|
| 54 |
params.image_size = 400
|
| 55 |
params.content_image = uploaded_file
|