mat27 commited on
Commit
7aa74c3
·
1 Parent(s): 00991f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -8
app.py CHANGED
@@ -8,11 +8,3 @@ os.environ['TRANSFORMERS_CACHE'] = '/blabla/cache/'
8
  app = FastAPI()
9
 
10
  pipe = pipeline(model="mat27/medmnistPrueba")
11
-
12
- def generate(image: np.array):
13
- """
14
- Input: imagen
15
- """
16
- output = pipe(image)
17
-
18
- return {"output": output[0]}
 
8
  app = FastAPI()
9
 
10
  pipe = pipeline(model="mat27/medmnistPrueba")