jslin09 commited on
Commit
0e4646a
•
1 Parent(s): f4d1cb8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -126,9 +126,9 @@ with gr.Blocks() as demo:
126
  with gr.Row():
127
  with gr.Column():
128
  with gr.Row():
129
- btn2 = gr.Button("產生標註語料內容")
130
  with gr.Row():
131
- btn3 = gr.Button("下載")
132
  btn.click(random_next, inputs=[], outputs=[courtName, caseNo, prompt, filename])
133
  btn2.click(gen_template, inputs=[prompt, element, tag], outputs=[result])
134
  btn3.click(None, inputs=[result, filename], _js=js_download)
 
126
  with gr.Row():
127
  with gr.Column():
128
  with gr.Row():
129
+ btn2 = gr.Button("📖產生標註語料內容")
130
  with gr.Row():
131
+ btn3 = gr.Button("💾下載")
132
  btn.click(random_next, inputs=[], outputs=[courtName, caseNo, prompt, filename])
133
  btn2.click(gen_template, inputs=[prompt, element, tag], outputs=[result])
134
  btn3.click(None, inputs=[result, filename], _js=js_download)