Spaces:
Runtime error
Runtime error
Update gradio_app.py
Browse files- gradio_app.py +7 -7
gradio_app.py
CHANGED
|
@@ -508,13 +508,13 @@ def shape_generation(
|
|
| 508 |
|
| 509 |
|
| 510 |
def build_app():
|
| 511 |
-
title = '
|
| 512 |
if MV_MODE:
|
| 513 |
-
title = '
|
| 514 |
if 'mini' in args.subfolder:
|
| 515 |
-
title = '
|
| 516 |
|
| 517 |
-
title = '
|
| 518 |
|
| 519 |
if TURBO_MODE:
|
| 520 |
title = title.replace(':', '-Turbo: Fast ')
|
|
@@ -525,7 +525,7 @@ def build_app():
|
|
| 525 |
{title}
|
| 526 |
</div>
|
| 527 |
<div align="center">
|
| 528 |
-
|
| 529 |
</div>
|
| 530 |
"""
|
| 531 |
custom_css = """
|
|
@@ -542,7 +542,7 @@ def build_app():
|
|
| 542 |
|
| 543 |
"""
|
| 544 |
|
| 545 |
-
with gr.Blocks(theme=gr.themes.Base(), title='
|
| 546 |
gr.HTML(title_html)
|
| 547 |
|
| 548 |
with gr.Row():
|
|
@@ -818,7 +818,7 @@ if __name__ == '__main__':
|
|
| 818 |
HTML_OUTPUT_PLACEHOLDER = f"""
|
| 819 |
<div style='height: {650}px; width: 100%; border-radius: 8px; border-color: #e5e7eb; border-style: solid; border-width: 1px; display: flex; justify-content: center; align-items: center;'>
|
| 820 |
<div style='text-align: center; font-size: 16px; color: #6b7280;'>
|
| 821 |
-
<p style="color: #8d8d8d;">Welcome to
|
| 822 |
<p style="color: #8d8d8d;">No mesh here.</p>
|
| 823 |
</div>
|
| 824 |
</div>
|
|
|
|
| 508 |
|
| 509 |
|
| 510 |
def build_app():
|
| 511 |
+
title = 'High Resolution Textured 3D Assets Generation'
|
| 512 |
if MV_MODE:
|
| 513 |
+
title = 'Image to 3D Generation with 1-4 Views'
|
| 514 |
if 'mini' in args.subfolder:
|
| 515 |
+
title = 'Strong 0.6B Image to Shape Generator'
|
| 516 |
|
| 517 |
+
title = 'Image to 3D Generation'
|
| 518 |
|
| 519 |
if TURBO_MODE:
|
| 520 |
title = title.replace(':', '-Turbo: Fast ')
|
|
|
|
| 525 |
{title}
|
| 526 |
</div>
|
| 527 |
<div align="center">
|
| 528 |
+
Imagine Team
|
| 529 |
</div>
|
| 530 |
"""
|
| 531 |
custom_css = """
|
|
|
|
| 542 |
|
| 543 |
"""
|
| 544 |
|
| 545 |
+
with gr.Blocks(theme=gr.themes.Base(), title='Image to 3D Generation', analytics_enabled=False, css=custom_css) as demo:
|
| 546 |
gr.HTML(title_html)
|
| 547 |
|
| 548 |
with gr.Row():
|
|
|
|
| 818 |
HTML_OUTPUT_PLACEHOLDER = f"""
|
| 819 |
<div style='height: {650}px; width: 100%; border-radius: 8px; border-color: #e5e7eb; border-style: solid; border-width: 1px; display: flex; justify-content: center; align-items: center;'>
|
| 820 |
<div style='text-align: center; font-size: 16px; color: #6b7280;'>
|
| 821 |
+
<p style="color: #8d8d8d;">Welcome to Imagine!</p>
|
| 822 |
<p style="color: #8d8d8d;">No mesh here.</p>
|
| 823 |
</div>
|
| 824 |
</div>
|