Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -559,8 +559,8 @@ def process_code(python_code):
|
|
| 559 |
# 建立 Gradio 介面,包含下拉選單、Code 輸入與多個輸出區塊
|
| 560 |
# =============================================================================
|
| 561 |
with gr.Blocks(css="#component-7 {font-family: 'Consolas', monospace;}") as demo:
|
| 562 |
-
gr.Markdown("# Python ↔ JavaScript
|
| 563 |
-
gr.Markdown("
|
| 564 |
|
| 565 |
with gr.Row():
|
| 566 |
with gr.Column(scale=1):
|
|
|
|
| 559 |
# 建立 Gradio 介面,包含下拉選單、Code 輸入與多個輸出區塊
|
| 560 |
# =============================================================================
|
| 561 |
with gr.Blocks(css="#component-7 {font-family: 'Consolas', monospace;}") as demo:
|
| 562 |
+
gr.Markdown("# Python ↔ JavaScript Interactive converters")
|
| 563 |
+
gr.Markdown("Select the sample code from the drop-down menu or paste the Python code directly to see the AST, the execution result, and the converted JavaScript code and execution result.")
|
| 564 |
|
| 565 |
with gr.Row():
|
| 566 |
with gr.Column(scale=1):
|