omanaaja commited on
Commit
4f9207d
·
1 Parent(s): b352d42

mematikan uvicorn agar tidak berjalan dilocal pada app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,9 +1,9 @@
1
- import os
2
- os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
3
-
4
  import tensorflow as tf
5
  tf.config.set_visible_devices([], 'GPU')
6
 
 
 
 
7
  import gradio as gr
8
  import numpy as np
9
  from tensorflow.keras.preprocessing import image
 
 
 
 
1
  import tensorflow as tf
2
  tf.config.set_visible_devices([], 'GPU')
3
 
4
+ import os
5
+ os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
6
+
7
  import gradio as gr
8
  import numpy as np
9
  from tensorflow.keras.preprocessing import image