Anujgr8 commited on
Commit
575a5c5
1 Parent(s): 1e498fc
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,8 +35,8 @@ iface = gr.Interface(
35
  fn=translate_code,
36
  inputs=[
37
  gr.inputs.Textbox(label="Enter code to translate"),
38
- gr.inputs.Textbox(label="Source Language (e.g., English)"),
39
- gr.inputs.Textbox(label="Target Language (e.g., German)")
40
  ],
41
  outputs=gr.outputs.Textbox(label="Translated Code"),
42
  title="Code Translator",
 
35
  fn=translate_code,
36
  inputs=[
37
  gr.inputs.Textbox(label="Enter code to translate"),
38
+ gr.inputs.Textbox(label="Source Language (e.g., C++,python,java...)"),
39
+ gr.inputs.Textbox(label="Target Language (e.g., C++,python,java...)")
40
  ],
41
  outputs=gr.outputs.Textbox(label="Translated Code"),
42
  title="Code Translator",