Spaces:
Runtime error
Runtime error
Commit
•
b508ce0
1
Parent(s):
f2f0545
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
#Imports
|
2 |
import tensorflow as tf
|
3 |
from tensorflow import keras
|
@@ -8,9 +11,6 @@ from PIL import Image
|
|
8 |
import gradio as gr
|
9 |
import os
|
10 |
|
11 |
-
import os
|
12 |
-
os.environ['CUDA_VISIBLE_DEVICES'] = '-1'
|
13 |
-
|
14 |
#Load Magenta Arbitrary Image Stylization network
|
15 |
hub_module = hub.load('https://tfhub.dev/google/magenta/arbitrary-image-stylization-v1-256/1')
|
16 |
"""
|
|
|
1 |
+
import os
|
2 |
+
os.environ['CUDA_VISIBLE_DEVICES'] = '-1'
|
3 |
+
|
4 |
#Imports
|
5 |
import tensorflow as tf
|
6 |
from tensorflow import keras
|
|
|
11 |
import gradio as gr
|
12 |
import os
|
13 |
|
|
|
|
|
|
|
14 |
#Load Magenta Arbitrary Image Stylization network
|
15 |
hub_module = hub.load('https://tfhub.dev/google/magenta/arbitrary-image-stylization-v1-256/1')
|
16 |
"""
|