Spaces:
Running
Running
Update app.py
Browse files
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(
|