Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ output_code_type = output.selectbox(
|
|
68 |
("JavaScript", "Comnig soon")
|
69 |
)
|
70 |
input_code = input.text_area("Enter yor code", height=300)
|
71 |
-
output_code = output.code(out, language=output_code_type, line_numbers=True)
|
72 |
submit = input.button("Convert")
|
73 |
if submit:
|
74 |
-
out = python_to_javascript(input_code)
|
|
|
|
68 |
("JavaScript", "Comnig soon")
|
69 |
)
|
70 |
input_code = input.text_area("Enter yor code", height=300)
|
|
|
71 |
submit = input.button("Convert")
|
72 |
if submit:
|
73 |
+
out = python_to_javascript(input_code)
|
74 |
+
output_code = output.code(out, language=output_code_type, line_numbers=True)
|