Spaces:
Runtime error
Runtime error
Updating requirements
Browse files- app.py +1 -0
- requirements.txt +2 -1
app.py
CHANGED
@@ -6,6 +6,7 @@ sys.path.append("/hub")
|
|
6 |
|
7 |
import gradio as gr
|
8 |
import tensorflow as tf
|
|
|
9 |
from hub.tensorflow_hub.hf_utils import pull_from_hub
|
10 |
|
11 |
|
|
|
6 |
|
7 |
import gradio as gr
|
8 |
import tensorflow as tf
|
9 |
+
import tensorflow_text as text # Registers the ops. (needed for "bert_preprocessor")
|
10 |
from hub.tensorflow_hub.hf_utils import pull_from_hub
|
11 |
|
12 |
|
requirements.txt
CHANGED
@@ -1,3 +1,4 @@
|
|
1 |
GitPython
|
2 |
tensorflow
|
3 |
-
tensorflow_hub
|
|
|
|
1 |
GitPython
|
2 |
tensorflow
|
3 |
+
tensorflow_hub
|
4 |
+
tensorflow_text
|