Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -191,17 +191,13 @@ def save_ply(pc, file_name, grid_size):
|
|
191 |
|
192 |
with gr.Blocks() as app:
|
193 |
gr.Markdown("# Text-to-3D")
|
194 |
-
gr.Markdown("
|
195 |
gr.HTML("""To skip the queue you can duplicate this space:
|
196 |
<br><a href="https://huggingface.co/spaces/AP123/text-to-3D?duplicate=true"><img src="https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14" alt="Duplicate Space"></a>
|
197 |
<br>Don't forget to change space hardware to <b>GPU</b> after duplicating it.""")
|
198 |
|
199 |
with gr.Row():
|
200 |
-
with gr.Column():
|
201 |
-
with gr.Tab("Text to 3D"):
|
202 |
-
prompt = gr.Textbox(label="Prompt", placeholder="A cactus in a pot")
|
203 |
-
btn_generate_txt2obj = gr.Button(value="Generate")
|
204 |
-
|
205 |
with gr.Tab("Image to 3D"):
|
206 |
img = gr.Image(label="Image")
|
207 |
gr.Markdown("Best results with images of 3D objects with no shadows on a white background.")
|
|
|
191 |
|
192 |
with gr.Blocks() as app:
|
193 |
gr.Markdown("# Text-to-3D")
|
194 |
+
gr.Markdown("Turn any image or prompt to a 3D asset! Powered by StableDiffusion and OpenAI Point-E. Check out (https://twitter.com/angrypenguinPNG) for a tutorial on how to best use this space.")
|
195 |
gr.HTML("""To skip the queue you can duplicate this space:
|
196 |
<br><a href="https://huggingface.co/spaces/AP123/text-to-3D?duplicate=true"><img src="https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14" alt="Duplicate Space"></a>
|
197 |
<br>Don't forget to change space hardware to <b>GPU</b> after duplicating it.""")
|
198 |
|
199 |
with gr.Row():
|
200 |
+
with gr.Column():
|
|
|
|
|
|
|
|
|
201 |
with gr.Tab("Image to 3D"):
|
202 |
img = gr.Image(label="Image")
|
203 |
gr.Markdown("Best results with images of 3D objects with no shadows on a white background.")
|