Spaces:
Runtime error
Runtime error
fix !wget
Browse files
app.py
CHANGED
@@ -17,7 +17,10 @@ tokenizer = T5TokenizerFast.from_pretrained(huggingface_model_path)
|
|
17 |
|
18 |
# Load the DataFrame
|
19 |
!mkdir -p Asfalda
|
20 |
-
|
|
|
|
|
|
|
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
|