jimmy60504 commited on
Commit
26071fc
·
1 Parent(s): ba6a003

reorder input layout to display waveform first and station map second

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -1080,16 +1080,16 @@ with gr.Blocks(title="TTSAM 震度預測系統") as demo:
1080
 
1081
  # ========== 中層:輸入測站地圖與波形圖 ==========
1082
  with gr.Row():
1083
- # 中左:輸入測站地圖
1084
- with gr.Column(scale=1):
1085
- gr.Markdown("## 輸入測站分布")
1086
- input_station_map = gr.HTML(label="輸入測站地圖")
1087
-
1088
- # 中右:輸入波形
1089
  with gr.Column(scale=1):
1090
  gr.Markdown("## 輸入波形")
1091
  waveform_plot = gr.Plot(label="地震波形(選定的 25 個測站)")
1092
 
 
 
 
 
 
1093
  # ========== 下層:Ground Truth vs 預測結果 ==========
1094
  with gr.Row():
1095
  # 左下:Ground Truth
 
1080
 
1081
  # ========== 中層:輸入測站地圖與波形圖 ==========
1082
  with gr.Row():
1083
+ # 中左:輸入波形
 
 
 
 
 
1084
  with gr.Column(scale=1):
1085
  gr.Markdown("## 輸入波形")
1086
  waveform_plot = gr.Plot(label="地震波形(選定的 25 個測站)")
1087
 
1088
+ # 中右:輸入測站地圖
1089
+ with gr.Column(scale=1):
1090
+ gr.Markdown("## 輸入測站分布")
1091
+ input_station_map = gr.HTML(label="輸入測站地圖")
1092
+
1093
  # ========== 下層:Ground Truth vs 預測結果 ==========
1094
  with gr.Row():
1095
  # 左下:Ground Truth