Spaces:
Sleeping
Sleeping
update
Browse files
app.py
CHANGED
@@ -76,12 +76,16 @@ with gr.Blocks() as demo:
|
|
76 |
gr.Markdown(description)
|
77 |
gr.Markdown(article)
|
78 |
|
79 |
-
gr.Interface(
|
80 |
fn=translate,
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
|
|
|
|
|
|
|
|
85 |
|
86 |
with gr.Accordion("More Information", open=False):
|
87 |
gr.Markdown("""
|
|
|
76 |
gr.Markdown(description)
|
77 |
gr.Markdown(article)
|
78 |
|
79 |
+
with gr.Interface(
|
80 |
fn=translate,
|
81 |
+
title="Northern Sotho to English Translation",
|
82 |
+
description=description,
|
83 |
+
article=article,
|
84 |
+
inputs=gr.components.Textbox(lines=5, placeholder="Enter Northern Sotho text (maximum 5 lines)", label="Input"),
|
85 |
+
outputs="text"
|
86 |
+
) as iface:
|
87 |
+
gr.markdown(logo, unsafe_allow_html=True)
|
88 |
+
iface.launch(enable_queue=True)
|
89 |
|
90 |
with gr.Accordion("More Information", open=False):
|
91 |
gr.Markdown("""
|