Spaces:
Sleeping
Sleeping
nk
Browse files
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.,
|
39 |
-
gr.inputs.Textbox(label="Target Language (e.g.,
|
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",
|