Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -412,7 +412,14 @@ def text_to_image(prompt: str, height: int, width: int, steps: int, scales: floa
|
|
412 |
torch.cuda.synchronize()
|
413 |
gc.collect()
|
414 |
|
415 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
416 |
gr.Markdown("""## Craft3D""")
|
417 |
|
418 |
# Examples ์ด๋ฏธ์ง ๋ก๋
|
@@ -491,6 +498,15 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
491 |
extract_glb_btn = gr.Button("Extract GLB", interactive=False)
|
492 |
|
493 |
with gr.Column():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
494 |
video_output = gr.Video(label="Generated 3D Asset", autoplay=True, loop=True, height=300)
|
495 |
model_output = LitModel3D(label="Extracted GLB", exposure=20.0, height=300)
|
496 |
download_glb = gr.DownloadButton(label="Download GLB", interactive=False)
|
|
|
412 |
torch.cuda.synchronize()
|
413 |
gc.collect()
|
414 |
|
415 |
+
css = """
|
416 |
+
footer {
|
417 |
+
visibility: hidden;
|
418 |
+
}
|
419 |
+
"""
|
420 |
+
|
421 |
+
|
422 |
+
with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
423 |
gr.Markdown("""## Craft3D""")
|
424 |
|
425 |
# Examples ์ด๋ฏธ์ง ๋ก๋
|
|
|
498 |
extract_glb_btn = gr.Button("Extract GLB", interactive=False)
|
499 |
|
500 |
with gr.Column():
|
501 |
+
# ์๋จ์ 3d.mp4 ์๋์ฌ์ ๋น๋์ค ์ถ๊ฐ
|
502 |
+
gr.Video(
|
503 |
+
"3d.mp4",
|
504 |
+
label="3D Asset Preview",
|
505 |
+
autoplay=True,
|
506 |
+
loop=True,
|
507 |
+
height=300,
|
508 |
+
width="100%"
|
509 |
+
)
|
510 |
video_output = gr.Video(label="Generated 3D Asset", autoplay=True, loop=True, height=300)
|
511 |
model_output = LitModel3D(label="Extracted GLB", exposure=20.0, height=300)
|
512 |
download_glb = gr.DownloadButton(label="Download GLB", interactive=False)
|