Spaces:
Runtime error
Runtime error
Commit
·
732301c
1
Parent(s):
15c153d
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,8 +36,8 @@ ar_en_interface = gr.Interface(
|
|
| 36 |
fn=translate_ar_to_en,
|
| 37 |
inputs=gr.inputs.Textbox(),
|
| 38 |
outputs=gr.outputs.Textbox(),
|
| 39 |
-
title="Arabic to English Translation",
|
| 40 |
-
description="Translate Arabic text to English
|
| 41 |
)
|
| 42 |
|
| 43 |
# # Combine the interfaces in a single app
|
|
@@ -52,5 +52,5 @@ ar_en_interface = gr.Interface(
|
|
| 52 |
|
| 53 |
if __name__ == "__main__":
|
| 54 |
# app.launch()
|
| 55 |
-
|
| 56 |
-
gr.Parallel([en_ar_interface, ar_en_interface]).launch()
|
|
|
|
| 36 |
fn=translate_ar_to_en,
|
| 37 |
inputs=gr.inputs.Textbox(),
|
| 38 |
outputs=gr.outputs.Textbox(),
|
| 39 |
+
title="Quara: Arabic to English Translation",
|
| 40 |
+
description="Translate Arabic text to English, made by @abhisheky127""
|
| 41 |
)
|
| 42 |
|
| 43 |
# # Combine the interfaces in a single app
|
|
|
|
| 52 |
|
| 53 |
if __name__ == "__main__":
|
| 54 |
# app.launch()
|
| 55 |
+
ar_en_interface.launch()
|
| 56 |
+
# gr.Parallel([en_ar_interface, ar_en_interface]).launch()
|