Spaces:
Runtime error
Runtime error
chore: adding examples
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ repo = Repository(
|
|
10 |
use_auth_token=os.environ.get("token")
|
11 |
)
|
12 |
reloaded = tf.saved_model.load("nmt-bahdanau-attention/translator")
|
13 |
-
examples=["how are you?", "good morning", "
|
14 |
|
15 |
def get_translation(sentence):
|
16 |
result = reloaded.translate(
|
|
|
10 |
use_auth_token=os.environ.get("token")
|
11 |
)
|
12 |
reloaded = tf.saved_model.load("nmt-bahdanau-attention/translator")
|
13 |
+
examples=["how are you?", "good morning.", "how is your health?"]
|
14 |
|
15 |
def get_translation(sentence):
|
16 |
result = reloaded.translate(
|