lemonaddie
commited on
Commit
•
aae2eb2
1
Parent(s):
5a34459
Update app1.py
Browse files
app1.py
CHANGED
@@ -79,7 +79,7 @@ def run_demo():
|
|
79 |
_DESCRIPTION = '''
|
80 |
<div>
|
81 |
Generate consistent depth and normal from single image.
|
82 |
-
<a style="display:inline-block; margin-left: .5em" href='https://github.com/
|
83 |
</div>
|
84 |
'''
|
85 |
_GPU_ID = 0
|
@@ -106,7 +106,7 @@ def run_demo():
|
|
106 |
with gr.Column(scale=1):
|
107 |
|
108 |
with gr.Accordion('Advanced options', open=True):
|
109 |
-
with gr.
|
110 |
|
111 |
domain = gr.Radio(
|
112 |
[
|
@@ -149,9 +149,9 @@ def run_demo():
|
|
149 |
|
150 |
|
151 |
run_btn = gr.Button('Generate', variant='primary', interactive=True)
|
152 |
-
with gr.
|
153 |
depth = gr.Image(interactive=False, height=384, show_label=False)
|
154 |
-
with gr.
|
155 |
normal = gr.Image(interactive=False, height=384, show_label=False)
|
156 |
|
157 |
|
|
|
79 |
_DESCRIPTION = '''
|
80 |
<div>
|
81 |
Generate consistent depth and normal from single image.
|
82 |
+
<a style="display:inline-block; margin-left: .5em" href='https://github.com/uxiao0719/GeoWizard/'><img src='https://img.shields.io/github/stars/uxiao0719/GeoWizard?style=social' /></a>
|
83 |
</div>
|
84 |
'''
|
85 |
_GPU_ID = 0
|
|
|
106 |
with gr.Column(scale=1):
|
107 |
|
108 |
with gr.Accordion('Advanced options', open=True):
|
109 |
+
with gr.Column():
|
110 |
|
111 |
domain = gr.Radio(
|
112 |
[
|
|
|
149 |
|
150 |
|
151 |
run_btn = gr.Button('Generate', variant='primary', interactive=True)
|
152 |
+
with gr.Column():
|
153 |
depth = gr.Image(interactive=False, height=384, show_label=False)
|
154 |
+
with gr.Column():
|
155 |
normal = gr.Image(interactive=False, height=384, show_label=False)
|
156 |
|
157 |
|