DHEIVER commited on
Commit
982fa65
·
1 Parent(s): 4ac91c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -2,8 +2,10 @@ import gradio as gr
2
  import tensorflow as tf
3
  import numpy as np
4
 
5
- # Resto do código aqui...
6
-
 
 
7
  def preprocess_image(image):
8
  temp_file = tempfile.NamedTemporaryFile(suffix=".png", delete=False)
9
  temp_file.write(image.read())
 
2
  import tensorflow as tf
3
  import numpy as np
4
 
5
+ models = [
6
+ {"name": "my_model_2.h5", "size": 512},
7
+ {"name": "my_model.h5", "size": 224},
8
+ ]
9
  def preprocess_image(image):
10
  temp_file = tempfile.NamedTemporaryFile(suffix=".png", delete=False)
11
  temp_file.write(image.read())