Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,5 +11,5 @@ model = from_pretrained_keras("mat27/medmnsitPrueba")
|
|
11 |
model.compile(loss="categorical_crossentropy", optimizer="adam", metrics=["accuracy"])
|
12 |
|
13 |
@app.get("/generate")
|
14 |
-
def generate(
|
15 |
-
print(model.predict(
|
|
|
11 |
model.compile(loss="categorical_crossentropy", optimizer="adam", metrics=["accuracy"])
|
12 |
|
13 |
@app.get("/generate")
|
14 |
+
def generate(example: np.array):
|
15 |
+
print(model.predict(example))
|