Nischal Suresh commited on
Commit
58342dc
·
1 Parent(s): f460184

Updating CSV file

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. density_veytel.csv +9 -0
app.py CHANGED
@@ -206,8 +206,8 @@ with gr.Blocks() as demo:
206
  max_dense_3 = gr.Textbox(value='255', label="Max")
207
  max_dense_2.change(set_min_dense_3, inputs=max_dense_2, outputs=[min_dense_3, dense2, dense3]).then(set_min_dense_3, inputs=max_dense_2, outputs=[min_dense_3, dense2, dense3])
208
 
209
- with gr.Column(): # creting blank image to manage the layout
210
- blank = gr.Image(np.zeros((512,512)), label="Blank", visible=False)
211
 
212
  button1.click(new__cxr, inputs = [max_dense_0, max_dense_1, max_dense_2], outputs = [im1, im2, im3, dense0, dense1, dense2, dense3, progress_log])
213
  button1.click(change_vis,outputs=[label1, button1])
 
206
  max_dense_3 = gr.Textbox(value='255', label="Max")
207
  max_dense_2.change(set_min_dense_3, inputs=max_dense_2, outputs=[min_dense_3, dense2, dense3]).then(set_min_dense_3, inputs=max_dense_2, outputs=[min_dense_3, dense2, dense3])
208
 
209
+ with gr.Column(): # adding additional for better visualization
210
+ im3_1 = gr.Image(lung_noised, label="Synthetic CXR")
211
 
212
  button1.click(new__cxr, inputs = [max_dense_0, max_dense_1, max_dense_2], outputs = [im1, im2, im3, dense0, dense1, dense2, dense3, progress_log])
213
  button1.click(change_vis,outputs=[label1, button1])
density_veytel.csv CHANGED
@@ -57,3 +57,12 @@ count,thresh_1,thresh_2,thresh_3
57
  count,thresh_1,thresh_2,thresh_3
58
 
59
  count,thresh_1,thresh_2,thresh_3
 
 
 
 
 
 
 
 
 
 
57
  count,thresh_1,thresh_2,thresh_3
58
 
59
  count,thresh_1,thresh_2,thresh_3
60
+ 1,50,100,150
61
+
62
+ count,thresh_1,thresh_2,thresh_3
63
+
64
+ count,thresh_1,thresh_2,thresh_3
65
+
66
+ count,thresh_1,thresh_2,thresh_3
67
+
68
+ count,thresh_1,thresh_2,thresh_3