Spaces:
Runtime error
Runtime error
Commit
·
c1c84bc
1
Parent(s):
7a425a2
Update app.py
Browse files
app.py
CHANGED
@@ -40,13 +40,14 @@ ar_en_interface = gr.Interface(
|
|
40 |
description="Translate Arabic text to English."
|
41 |
)
|
42 |
|
43 |
-
# Combine the interfaces in a single app
|
44 |
-
app = gr.Interface(
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
)
|
50 |
|
51 |
if __name__ == "__main__":
|
52 |
-
app.launch()
|
|
|
|
40 |
description="Translate Arabic text to English."
|
41 |
)
|
42 |
|
43 |
+
# # Combine the interfaces in a single app
|
44 |
+
# app = gr.Interface(
|
45 |
+
# fn=[en_ar_interface, ar_en_interface],
|
46 |
+
# layout="horizontal",
|
47 |
+
# title="Translation App",
|
48 |
+
# description="Translate text between English and Arabic."
|
49 |
+
# )
|
50 |
|
51 |
if __name__ == "__main__":
|
52 |
+
# app.launch()
|
53 |
+
ar_en_interface.launch()
|