abhisheky127 commited on
Commit
c1c84bc
1 Parent(s): 7a425a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -8
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
- 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()
 
 
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()