AP123 commited on
Commit
d605ff2
1 Parent(s): e9fe405

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
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("This is a demo for [Point-E: A System for Generating 3D Point Clouds from Complex Prompts](https://arxiv.org/abs/2212.08751) by OpenAI. Check out the [GitHub repo](https://github.com/openai/point-e) for more information.")
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.")