jslin09 commited on
Commit
506c1b8
1 Parent(s): 8cd3669

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -93,8 +93,8 @@ with gr.Blocks() as demo:
93
  # case_no = random_selected[1]
94
  # crime_descrip = random_selected[2]
95
  with gr.Row(): # 抬頭段
96
- # courtName = gr.Label(label='法院名稱', value=court_name)
97
- # caseNo = gr.Label(label='案號', value=case_no)
98
  title = gr.components.Textbox(label='案號',value=title)
99
  prompt = gr.components.Textbox(lines=5, label='犯罪事實',value=crime_descrip)
100
  with gr.Row():
 
93
  # case_no = random_selected[1]
94
  # crime_descrip = random_selected[2]
95
  with gr.Row(): # 抬頭段
96
+ courtName = gr.Label(label='法院名稱', value=court_name, visible=False)
97
+ caseNo = gr.Label(label='案號', value=case_no, visible=False)
98
  title = gr.components.Textbox(label='案號',value=title)
99
  prompt = gr.components.Textbox(lines=5, label='犯罪事實',value=crime_descrip)
100
  with gr.Row():