tnt306 commited on
Commit
49abb69
·
1 Parent(s): 06a1d7b
Files changed (1) hide show
  1. app.py +17 -18
app.py CHANGED
@@ -37,23 +37,22 @@ import gradio as gr
37
  # demo.launch(debug=True)
38
 
39
  with gr.Blocks() as demo:
40
- with gr.Row():
41
- with gr.Column():
42
- with gr.Row():
43
- patient_upload_btn = gr.UploadButton(label="Upload A Patient",
44
- file_types = ['.csv'],
45
- file_count = "single")
46
- with gr.Row():
47
- with gr.Column():
48
- patient_1_input_btn = gr.Button("Patient 1")
49
- patient_1_download_btn = gr.DownloadButton("Download 1")
50
- with gr.Column():
51
- patient_2_input_btn = gr.Button("Patient 2")
52
- patient_2_download_btn = gr.DownloadButton("Download 2")
53
- with gr.Column():
54
- patient_3_input_btn = gr.Button("Patient 3")
55
- patient_3_download_btn = gr.DownloadButton("Download 3")
56
- with gr.Column(scale=4):
57
- btn1 = gr.Button("Button 1")
58
 
59
  demo.launch(debug=True)
 
37
  # demo.launch(debug=True)
38
 
39
  with gr.Blocks() as demo:
40
+ with gr.Column():
41
+ with gr.Row():
42
+ patient_upload_btn = gr.UploadButton(label="Upload A Patient",
43
+ file_types = ['.csv'],
44
+ file_count = "single")
45
+ with gr.Row():
46
+ with gr.Column():
47
+ patient_1_input_btn = gr.Button("Patient 1")
48
+ patient_1_download_btn = gr.DownloadButton("Download 1")
49
+ with gr.Column():
50
+ patient_2_input_btn = gr.Button("Patient 2")
51
+ patient_2_download_btn = gr.DownloadButton("Download 2")
52
+ with gr.Column():
53
+ patient_3_input_btn = gr.Button("Patient 3")
54
+ patient_3_download_btn = gr.DownloadButton("Download 3")
55
+ with gr.Column(scale=4):
56
+ btn1 = gr.Button("Button 1")
 
57
 
58
  demo.launch(debug=True)