Spaces:
Sleeping
Sleeping
Dy
commited on
Commit
•
c7cee29
1
Parent(s):
f88305e
Update app.py
Browse files
app.py
CHANGED
@@ -331,11 +331,11 @@ with gr.Blocks() as demo:
|
|
331 |
#url_json_file = gr.File(label="URL JSON file.")
|
332 |
rendered_tree = gr.Image(label="Taxanomy Tree.")
|
333 |
output_file = gr.File(label="Ouput JSON file.")
|
334 |
-
print_text = gr.Text(label="Printing")
|
335 |
|
336 |
modify_btn.click(modify_json, inputs=[json_file, num_layers, num_items, category_type], outputs=output_file)
|
337 |
render_btn.click(get_file, inputs=json_file, outputs=rendered_tree)
|
338 |
-
print_btn.click(print_num, inputs=[num_layers,num_items], outputs=print_text)
|
339 |
geturl_btn.click(get_taxanomy_from_url, inputs=input_url, outputs=output_file)
|
340 |
|
341 |
demo.launch()
|
|
|
331 |
#url_json_file = gr.File(label="URL JSON file.")
|
332 |
rendered_tree = gr.Image(label="Taxanomy Tree.")
|
333 |
output_file = gr.File(label="Ouput JSON file.")
|
334 |
+
#print_text = gr.Text(label="Printing")
|
335 |
|
336 |
modify_btn.click(modify_json, inputs=[json_file, num_layers, num_items, category_type], outputs=output_file)
|
337 |
render_btn.click(get_file, inputs=json_file, outputs=rendered_tree)
|
338 |
+
#print_btn.click(print_num, inputs=[num_layers,num_items], outputs=print_text)
|
339 |
geturl_btn.click(get_taxanomy_from_url, inputs=input_url, outputs=output_file)
|
340 |
|
341 |
demo.launch()
|