Pouriarouzrokh commited on
Commit
01e170d
1 Parent(s): c56547f

changed some text

Browse files
Files changed (1) hide show
  1. app.py +11 -6
app.py CHANGED
@@ -41,12 +41,17 @@ with gr.Blocks(css=css_style, title="RadRotator") as app:
41
  input_img = gr.Image(type='filepath', label='Input image', sources='upload', interactive=False, elem_classes='imgs')
42
  output_img = gr.Image(type='pil', label='Output image', interactive=False, elem_classes='imgs')
43
  with gr.Row():
44
- gr.Examples(
45
- examples = [os.path.join("./data/examples", f) for f in os.listdir("./data/examples") if "xr" in f],
46
- inputs = [input_img],
47
- label = "Xray Examples",
48
- elem_id='examples',
49
- )
 
 
 
 
 
50
  with gr.Row():
51
  gr.Markdown('Please select an example image, choose your rotation angles, and press Rotate!', elem_classes='text')
52
  with gr.Row():
 
41
  input_img = gr.Image(type='filepath', label='Input image', sources='upload', interactive=False, elem_classes='imgs')
42
  output_img = gr.Image(type='pil', label='Output image', interactive=False, elem_classes='imgs')
43
  with gr.Row():
44
+ with gr.Column(scale=0.25):
45
+ pass
46
+ with gr.Column(scale=1):
47
+ gr.Examples(
48
+ examples = [os.path.join("./data/examples", f) for f in os.listdir("./data/examples") if "xr" in f],
49
+ inputs = [input_img],
50
+ label = "Xray Examples",
51
+ elem_id='examples',
52
+ )
53
+ with gr.Column(scale=0.25):
54
+ pass
55
  with gr.Row():
56
  gr.Markdown('Please select an example image, choose your rotation angles, and press Rotate!', elem_classes='text')
57
  with gr.Row():