nelsonjq commited on
Commit
d7cb910
·
verified ·
1 Parent(s): a3bcd90
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -17,7 +17,10 @@ tokenizer = T5TokenizerFast.from_pretrained(huggingface_model_path)
17
 
18
  # Load the DataFrame
19
  !mkdir -p Asfalda
20
- !wget --output-document Asfalda/frame_lus_df.tsv https://seafile.unistra.fr/f/0155ced00b8d441eb131/?dl=1
 
 
 
21
  frame_lus_df = pd.read_csv("Asfalda/frame_lus_df.tsv", delimiter='\t')
22
 
23
  # Filter out 'Other_sense' and normalize frame names
 
17
 
18
  # Load the DataFrame
19
  !mkdir -p Asfalda
20
+ import subprocess
21
+
22
+ subprocess.run(['wget', '--output-document=Asfalda/frame_lus_df.tsv', 'https://seafile.unistra.fr/f/0155ced00b8d441eb131/?dl=1']
23
+ )
24
  frame_lus_df = pd.read_csv("Asfalda/frame_lus_df.tsv", delimiter='\t')
25
 
26
  # Filter out 'Other_sense' and normalize frame names