DHEIVER commited on
Commit
b24003a
·
1 Parent(s): 652d09f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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')