Spaces:
Sleeping
Sleeping
Pouriarouzrokh
commited on
Commit
•
d5dd2c6
1
Parent(s):
d88ebff
changed some text
Browse files
.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
app.py
CHANGED
@@ -41,16 +41,16 @@ 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 |
-
with gr.Column(scale=0.
|
45 |
pass
|
46 |
-
with gr.Column(scale=
|
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.
|
54 |
pass
|
55 |
with gr.Row():
|
56 |
gr.Markdown('Please select an example image, choose your rotation angles, and press Rotate!', elem_classes='text')
|
|
|
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.1):
|
45 |
pass
|
46 |
+
with gr.Column(scale=2):
|
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.1):
|
54 |
pass
|
55 |
with gr.Row():
|
56 |
gr.Markdown('Please select an example image, choose your rotation angles, and press Rotate!', elem_classes='text')
|