Neal Caren commited on
Commit
cc67574
1 Parent(s): 4471b2f

for to import re

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -1,22 +1,21 @@
1
  import streamlit as st
2
 
3
  import numpy as np
4
-
5
  import pickle
6
  from collections import OrderedDict
 
7
 
8
  from sentence_transformers import SentenceTransformer, CrossEncoder, util
9
  import torch
10
 
11
- import requests
12
- import io
13
-
14
  from nltk.tokenize import sent_tokenize
 
15
 
16
  import gdown
 
17
 
18
 
19
- import nltk
20
  nltk.download('punkt')
21
 
22
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
 
1
  import streamlit as st
2
 
3
  import numpy as np
4
+ import re
5
  import pickle
6
  from collections import OrderedDict
7
+ import io
8
 
9
  from sentence_transformers import SentenceTransformer, CrossEncoder, util
10
  import torch
11
 
 
 
 
12
  from nltk.tokenize import sent_tokenize
13
+ import nltk
14
 
15
  import gdown
16
+ import requests
17
 
18
 
 
19
  nltk.download('punkt')
20
 
21
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")