Spaces:
Runtime error
Runtime error
File size: 589 Bytes
c145eab 1cc60af c145eab |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import gradio as gr
class TopComponent:
def __init__(self):
with gr.Row():
with gr.Column():
with gr.Row():
self.upload_log = gr.UploadButton("上传JCL")
self.upload_json = gr.UploadButton("上传JSON")
self.copy_json = gr.Textbox(label="复制JSON", show_copy_button=True, max_lines=2)
with gr.Column():
self.player_select = gr.Dropdown(label="选择角色", visible=False)
self.target_select = gr.Dropdown(label="选择目标", visible=False)
|