Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,14 @@
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
import numpy as np
|
3 |
import cv2
|
4 |
import tensorflow as tf
|
5 |
|
|
|
|
|
|
|
6 |
# Load the model
|
7 |
model = tf.keras.models.load_model('model.h5')
|
8 |
|
|
|
1 |
+
import os
|
2 |
+
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
|
3 |
+
|
4 |
import gradio as gr
|
5 |
import numpy as np
|
6 |
import cv2
|
7 |
import tensorflow as tf
|
8 |
|
9 |
+
# Restante do seu código ...
|
10 |
+
|
11 |
+
|
12 |
# Load the model
|
13 |
model = tf.keras.models.load_model('model.h5')
|
14 |
|