Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
os.system("pip install gradio==2.8.0b5")
|
| 2 |
os.system("pip install -r requirements.txt")
|
| 3 |
os.system("pip freeze")
|
|
@@ -10,7 +11,6 @@ import tensorflow_text as text
|
|
| 10 |
from tensorflow import keras
|
| 11 |
import gradio as gr
|
| 12 |
|
| 13 |
-
import os
|
| 14 |
|
| 15 |
def make_bert_preprocessing_model(sentence_features, seq_length=128):
|
| 16 |
"""Returns Model mapping string features to BERT inputs.
|
|
|
|
| 1 |
+
import os
|
| 2 |
os.system("pip install gradio==2.8.0b5")
|
| 3 |
os.system("pip install -r requirements.txt")
|
| 4 |
os.system("pip freeze")
|
|
|
|
| 11 |
from tensorflow import keras
|
| 12 |
import gradio as gr
|
| 13 |
|
|
|
|
| 14 |
|
| 15 |
def make_bert_preprocessing_model(sentence_features, seq_length=128):
|
| 16 |
"""Returns Model mapping string features to BERT inputs.
|