Spaces:
Runtime error
Runtime error
Update gradio_demo.py
Browse files- gradio_demo.py +4 -2
gradio_demo.py
CHANGED
@@ -47,8 +47,10 @@ def main(prompt, init_prompt, negative_prompt, num_iter, CFG, seed):
|
|
47 |
|
48 |
with gr.Blocks() as demo:
|
49 |
gr.Markdown("# <center>LucidDreamer: Towards High-Fidelity Text-to-3D Generation via Interval Score Matching</center>")
|
50 |
-
gr.Markdown("
|
51 |
-
|
|
|
|
|
52 |
gr.Interface(fn=main, inputs=[gr.Textbox(lines=2, value="A portrait of IRONMAN, white hair, head, photorealistic, 8K, HDR.", label="Your prompt"),
|
53 |
gr.Textbox(lines=1, value="a man head.", label="Point-E init prompt (optional)"),
|
54 |
gr.Textbox(lines=2, value="unrealistic, blurry, low quality, out of focus, ugly, low contrast, dull, low-resolution.", label="Negative prompt (optional)"),
|
|
|
47 |
|
48 |
with gr.Blocks() as demo:
|
49 |
gr.Markdown("# <center>LucidDreamer: Towards High-Fidelity Text-to-3D Generation via Interval Score Matching</center>")
|
50 |
+
gr.Markdown("This live demo allows you to generate high-quality 3D content using text prompts.<br> \
|
51 |
+
It is based on Stable Diffusion 2.1. Please check out our <strong><a href=https://github.com/EnVision-Research/LucidDreamer>Project Page</a> / <a href=https://arxiv.org/abs/2311.11284>Paper</a> / <a href=https://github.com/EnVision-Research/LucidDreamer>Code</a></strong> if you want to learn more about our method!<br> \
|
52 |
+
Note that this demo is running on A10G Small, the running time might be longer than the reported 35 minutes on A100.<br> \
|
53 |
+
© This Gradio space was developed by Haodong LI.")
|
54 |
gr.Interface(fn=main, inputs=[gr.Textbox(lines=2, value="A portrait of IRONMAN, white hair, head, photorealistic, 8K, HDR.", label="Your prompt"),
|
55 |
gr.Textbox(lines=1, value="a man head.", label="Point-E init prompt (optional)"),
|
56 |
gr.Textbox(lines=2, value="unrealistic, blurry, low quality, out of focus, ugly, low contrast, dull, low-resolution.", label="Negative prompt (optional)"),
|