lovelyai999 commited on
Commit
ecc410b
·
verified ·
1 Parent(s): d048ec1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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("請從下拉選單中選取範例程式碼或直接貼上 Python 程式碼,即可看到其 AST、執行結果,以及轉換後的 JavaScript 程式碼與執行結果。")
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):