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