Dimitre commited on
Commit
ed4a092
·
1 Parent(s): dee456b

Removing tensorflow_text ref

Browse files
Files changed (2) hide show
  1. app.py +0 -1
  2. requirements.txt +1 -2
app.py CHANGED
@@ -5,7 +5,6 @@ Repo.clone_from("https://github.com/dimitreOliveira/hub.git", "./hub")
5
  sys.path.append("/hub")
6
 
7
  import gradio as gr
8
- import tensorflow_text as text # Registers the ops. (needed for "bert_preprocessor")
9
  from hub.tensorflow_hub.hf_utils import pull_from_hub
10
  from sklearn.metrics.pairwise import cosine_similarity
11
 
 
5
  sys.path.append("/hub")
6
 
7
  import gradio as gr
 
8
  from hub.tensorflow_hub.hf_utils import pull_from_hub
9
  from sklearn.metrics.pairwise import cosine_similarity
10
 
requirements.txt CHANGED
@@ -1,4 +1,3 @@
1
  sklearn
2
  GitPython
3
- tensorflow_hub
4
- tensorflow_text
 
1
  sklearn
2
  GitPython
3
+ tensorflow_hub