Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,8 @@ import gradio as gr
|
|
2 |
import numpy as np
|
3 |
import cv2
|
4 |
import tensorflow as tf
|
|
|
|
|
5 |
|
6 |
# Carregar o modelo
|
7 |
model = tf.keras.models.load_model('model.h5')
|
|
|
2 |
import numpy as np
|
3 |
import cv2
|
4 |
import tensorflow as tf
|
5 |
+
import matplotlib
|
6 |
+
matplotlib.use('Agg')
|
7 |
|
8 |
# Carregar o modelo
|
9 |
model = tf.keras.models.load_model('model.h5')
|