Update app.py
Browse files
app.py
CHANGED
@@ -7,13 +7,12 @@ Original file is located at
|
|
7 |
https://colab.research.google.com/drive/18bvmXQqMIkk7G0gY_1dUolI08RK6Ajrf
|
8 |
"""
|
9 |
|
10 |
-
|
|
|
11 |
|
|
|
12 |
|
13 |
-
from huggingface_hub import hf_hub_download
|
14 |
-
hf_hub_download(repo_id="lysandre/arxiv-nlp", filename="config.json")
|
15 |
|
16 |
-
import Parrot
|
17 |
parrot = Parrot(model_tag="prithivida/parrot_paraphraser_on_T5")
|
18 |
import os
|
19 |
from parrot import Parrot
|
|
|
7 |
https://colab.research.google.com/drive/18bvmXQqMIkk7G0gY_1dUolI08RK6Ajrf
|
8 |
"""
|
9 |
|
10 |
+
from parrot import Parrot
|
11 |
+
import warnings
|
12 |
|
13 |
+
warnings.filterwarnings("ignore")
|
14 |
|
|
|
|
|
15 |
|
|
|
16 |
parrot = Parrot(model_tag="prithivida/parrot_paraphraser_on_T5")
|
17 |
import os
|
18 |
from parrot import Parrot
|