Spaces:
Runtime error
Runtime error
One less tf input?
Browse files
app.py
CHANGED
@@ -208,15 +208,14 @@ def center_box(additional_pixels, density, image_size):
|
|
208 |
return A * density
|
209 |
|
210 |
|
211 |
-
import tensorflow as tf
|
|
|
|
|
|
|
|
|
|
|
|
|
212 |
|
213 |
-
sess = tf.compat.v1.Session()
|
214 |
-
|
215 |
-
from keras import backend as K
|
216 |
-
|
217 |
-
K.set_session(sess)
|
218 |
-
|
219 |
-
# Gradio Interface
|
220 |
|
221 |
|
222 |
endpoint_options = (
|
|
|
208 |
return A * density
|
209 |
|
210 |
|
211 |
+
# import tensorflow as tf
|
212 |
+
#
|
213 |
+
# sess = tf.compat.v1.Session()
|
214 |
+
#
|
215 |
+
# from keras import backend as K
|
216 |
+
#
|
217 |
+
# K.set_session(sess)
|
218 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
|
220 |
|
221 |
endpoint_options = (
|