Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,5 @@
|
|
|
|
1 |
# -*- coding: utf-8 -*-
|
2 |
-
"""Copy of HW1 (more instructed).ipynb
|
3 |
-
|
4 |
-
Automatically generated by Colab.
|
5 |
-
|
6 |
-
Original file is located at
|
7 |
-
https://colab.research.google.com/drive/14KOszSHjoAmlL_IGF2Ixz_3rdI4I3Z-J
|
8 |
-
"""
|
9 |
|
10 |
#!pip install git+https://github.com/kwang2049/nlp4web-codebase.git
|
11 |
#!git clone https://github.com/kwang2049/nlp4web-codebase.git # You can always check the content of this simple codebase at any time
|
@@ -30,7 +24,6 @@ import nltk
|
|
30 |
nltk.download("stopwords", quiet=True)
|
31 |
from nltk.corpus import stopwords as nltk_stopwords
|
32 |
from nlp4web_codebase.ir.data_loaders.sciq import load_sciq
|
33 |
-
from __future__ import annotations
|
34 |
from dataclasses import asdict, dataclass
|
35 |
import math
|
36 |
import os
|
|
|
1 |
+
from __future__ import annotations
|
2 |
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
#!pip install git+https://github.com/kwang2049/nlp4web-codebase.git
|
5 |
#!git clone https://github.com/kwang2049/nlp4web-codebase.git # You can always check the content of this simple codebase at any time
|
|
|
24 |
nltk.download("stopwords", quiet=True)
|
25 |
from nltk.corpus import stopwords as nltk_stopwords
|
26 |
from nlp4web_codebase.ir.data_loaders.sciq import load_sciq
|
|
|
27 |
from dataclasses import asdict, dataclass
|
28 |
import math
|
29 |
import os
|