breynolds1247 commited on
Commit
23785a1
1 Parent(s): 40943a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -1,6 +1,6 @@
1
- #import os
2
  #os.environ['CUDA_VISIBLE_DEVICES'] = '-1'
3
- #os.environ['TF_ENABLE_ONEDNN_OPTS'] = '0'
4
 
5
  #Imports
6
  import tensorflow as tf
@@ -10,7 +10,6 @@ import tensorflow_hub as hub
10
 
11
  from PIL import Image
12
  import gradio as gr
13
- import os
14
 
15
  from helper_functions import *
16
 
@@ -72,6 +71,8 @@ app = gr.Interface(
72
  description="Make your own art in the style of six famous artists using pretrained neural networks and deep learning!"
73
  #article="https://arxiv.org/abs/1705.06830"
74
  )
 
 
75
 
76
  """
77
  def inference(input_image):
 
1
+ import os
2
  #os.environ['CUDA_VISIBLE_DEVICES'] = '-1'
3
+ os.environ['TF_ENABLE_ONEDNN_OPTS'] = '0'
4
 
5
  #Imports
6
  import tensorflow as tf
 
10
 
11
  from PIL import Image
12
  import gradio as gr
 
13
 
14
  from helper_functions import *
15
 
 
71
  description="Make your own art in the style of six famous artists using pretrained neural networks and deep learning!"
72
  #article="https://arxiv.org/abs/1705.06830"
73
  )
74
+
75
+ app.launch()
76
 
77
  """
78
  def inference(input_image):