Commit
·
b6b2396
1
Parent(s):
21eea14
Update app.py
Browse files
app.py
CHANGED
@@ -123,11 +123,11 @@ def decode_sequence(input_seq):
|
|
123 |
return decoded_sentence
|
124 |
|
125 |
|
126 |
-
input_1 = gr.
|
127 |
-
output_1 = gr.
|
128 |
|
129 |
iface = gr.Interface(decode_sequence,
|
130 |
-
inputs=input_1, outputs=
|
131 |
examples=[["Be kind."],
|
132 |
["Hug me."]],
|
133 |
title="Character Level Recurrent Seq2Seq Model",
|
|
|
123 |
return decoded_sentence
|
124 |
|
125 |
|
126 |
+
input_1 = gr.Textbox(lines=2)
|
127 |
+
output_1 = gr.Textbox()
|
128 |
|
129 |
iface = gr.Interface(decode_sequence,
|
130 |
+
inputs=input_1, outputs=output_1,
|
131 |
examples=[["Be kind."],
|
132 |
["Hug me."]],
|
133 |
title="Character Level Recurrent Seq2Seq Model",
|