Spaces:
Sleeping
Sleeping
mematikan uvicorn agar tidak berjalan dilocal pada app.py
Browse files
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
|