Spaces:
Running
Running
unfinished
Browse files
app.py
CHANGED
@@ -14,4 +14,4 @@ tm_config = timm.data.resolve_model_data_config(model)
|
|
14 |
tm_trans = timm.data.create_transform(**tm_config, is_training=False)
|
15 |
|
16 |
def launch(img):
|
17 |
-
|
|
|
14 |
tm_trans = timm.data.create_transform(**tm_config, is_training=False)
|
15 |
|
16 |
def launch(img):
|
17 |
+
tm_output = nsfw_tm(transforms(img).unsqueeze(0))
|