Spaces:
Runtime error
Runtime error
AnishKumbhar
commited on
Commit
•
2a9e83f
1
Parent(s):
a55ec9f
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ class Prediction:
|
|
12 |
app = fastapi.FastAPI(docs_url="/")
|
13 |
|
14 |
model = torch.load("model67.bin", map_location='cpu')
|
15 |
-
|
16 |
# Define a function to preprocess the input image
|
17 |
def preprocess_input(input: fastapi.UploadFile):
|
18 |
image = Image.open(input.file)
|
|
|
12 |
app = fastapi.FastAPI(docs_url="/")
|
13 |
|
14 |
model = torch.load("model67.bin", map_location='cpu')
|
15 |
+
print(model)
|
16 |
# Define a function to preprocess the input image
|
17 |
def preprocess_input(input: fastapi.UploadFile):
|
18 |
image = Image.open(input.file)
|