Hira99 commited on
Commit
7f70728
1 Parent(s): 5e82d60

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -18,11 +18,12 @@ def translate_urdu_to_english(text):
18
  # Create the Gradio interface
19
  iface = gr.Interface(
20
  fn=translate_urdu_to_english,
21
- inputs=gr.inputs.Textbox(label="Input Urdu Text"),
22
- outputs=gr.outputs.Textbox(label="Translated English Text"),
23
  title="Urdu to English Translation",
24
  description="Enter Urdu text to get the English translation."
25
  )
26
 
27
  # Launch the app
28
  iface.launch()
 
 
18
  # Create the Gradio interface
19
  iface = gr.Interface(
20
  fn=translate_urdu_to_english,
21
+ inputs=gr.Textbox(label="Input Urdu Text"),
22
+ outputs=gr.Textbox(label="Translated English Text"),
23
  title="Urdu to English Translation",
24
  description="Enter Urdu text to get the English translation."
25
  )
26
 
27
  # Launch the app
28
  iface.launch()
29
+