Update app.py
Browse files
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 |
-
|
97 |
-
|
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():
|