Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,13 +1,7 @@
|
|
| 1 |
-
# -*- coding: utf-8 -*-
|
| 2 |
-
"""app.ipynb
|
| 3 |
|
| 4 |
-
Automatically generated by Colaboratory.
|
| 5 |
-
|
| 6 |
-
Original file is located at
|
| 7 |
-
https://colab.research.google.com/drive/1m1tEVpwK3Jv6qCMlrE_XjWg3rC5XZi_g
|
| 8 |
-
"""
|
| 9 |
|
| 10 |
# example of face detection with mtcnn
|
|
|
|
| 11 |
from matplotlib import pyplot
|
| 12 |
from PIL import Image
|
| 13 |
from numpy import asarray
|
|
@@ -51,7 +45,7 @@ import random
|
|
| 51 |
import glob
|
| 52 |
import gradio as gr
|
| 53 |
|
| 54 |
-
|
| 55 |
from tensorflow.keras.regularizers import l2
|
| 56 |
from tensorflow.keras.layers import Input, Dense, Reshape, Flatten, Dropout, multiply, GaussianNoise
|
| 57 |
from tensorflow.keras.layers import BatchNormalization, Activation, Embedding, ZeroPadding2D
|
|
|
|
|
|
|
|
|
|
| 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
# example of face detection with mtcnn
|
| 4 |
+
from __future__ import print_function, division
|
| 5 |
from matplotlib import pyplot
|
| 6 |
from PIL import Image
|
| 7 |
from numpy import asarray
|
|
|
|
| 45 |
import glob
|
| 46 |
import gradio as gr
|
| 47 |
|
| 48 |
+
|
| 49 |
from tensorflow.keras.regularizers import l2
|
| 50 |
from tensorflow.keras.layers import Input, Dense, Reshape, Flatten, Dropout, multiply, GaussianNoise
|
| 51 |
from tensorflow.keras.layers import BatchNormalization, Activation, Embedding, ZeroPadding2D
|