GulAk8902 commited on
Commit
86dbaa0
·
verified ·
1 Parent(s): 5c24cca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -30,7 +30,6 @@ risk_categories = {
30
  "low_risk": [1, 2, 3, 4, 6, 9, 10, 11, 14] # Diğerleri
31
  }
32
 
33
- @gr.cache
34
  def load_model():
35
  """Senin trained ViT modelini yükle"""
36
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
 
30
  "low_risk": [1, 2, 3, 4, 6, 9, 10, 11, 14] # Diğerleri
31
  }
32
 
 
33
  def load_model():
34
  """Senin trained ViT modelini yükle"""
35
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')