sagawa commited on
Commit
5a1a548
·
verified ·
1 Parent(s): e085437

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -107,10 +107,7 @@ if st.button("predict"):
107
  # output_df = save_multiple_predictions(input_data, all_sequences, all_scores)
108
 
109
  CFG.device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
110
-
111
- if not os.path.exists(CFG.output_dir):
112
- os.makedirs(CFG.output_dir)
113
-
114
  seed_everything(seed=CFG.seed)
115
 
116
  CFG.tokenizer = AutoTokenizer.from_pretrained(
 
107
  # output_df = save_multiple_predictions(input_data, all_sequences, all_scores)
108
 
109
  CFG.device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
110
+
 
 
 
111
  seed_everything(seed=CFG.seed)
112
 
113
  CFG.tokenizer = AutoTokenizer.from_pretrained(