dmusingu commited on
Commit
190f7e2
1 Parent(s): 2d3a8bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
20
 
21
  class_mapping = {'tb': 0, 'healthy': 1, 'sick_but_no_tb': 2}
22
  reverse_mapping = {v: k for k, v in class_mapping.items()}
23
- labels = class_mapping.keys()
24
 
25
  def load_model():
26
  # config = read_params(config_path)
 
20
 
21
  class_mapping = {'tb': 0, 'healthy': 1, 'sick_but_no_tb': 2}
22
  reverse_mapping = {v: k for k, v in class_mapping.items()}
23
+ labels = list(class_mapping.keys())
24
 
25
  def load_model():
26
  # config = read_params(config_path)