spuun commited on
Commit
52ffbe2
1 Parent(s): 15a6715

unfinished

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- output = model(transforms(img).unsqueeze(0))
 
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))