bergrozen1213 commited on
Commit
19ebe12
1 Parent(s): 44e5a04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -36
app.py CHANGED
@@ -214,45 +214,11 @@ with block:
214
  with gr.Box():
215
  if(not torch.cuda.is_available()):
216
  top_description = gr.HTML(f'''
217
- <div style="text-align: center; max-width: 650px; margin: 0 auto;">
218
- <div>
219
- <img class="logo" src="file/images/mirage.png" alt="Mirage Logo"
220
- style="margin: auto; max-width: 7rem;">
221
- <br />
222
- <h1 style="font-weight: 900; font-size: 2.5rem;">
223
- Point-E Web UI
224
- </h1>
225
- <br />
226
- <a class="duplicate-button" style="display:inline-block" target="_blank" href="https://huggingface.co/spaces/MirageML/point-e?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>
227
- </div>
228
- <br />
229
- <p style="margin-bottom: 10px; font-size: 94%">
230
- Generate 3D Assets in 2 minutes with a prompt or image!
231
- Based on the <a href="https://github.com/openai/point-e">Point-E</a> implementation
232
- </p>
233
- <br />
234
- <p>There's only one step left before you can train your model: <a href="https://huggingface.co/spaces/{os.environ['SPACE_ID']}/settings" style="text-decoration: underline" target="_blank">attribute a <b>T4 GPU</b> to it (via the Settings tab)</a> and run the training below. Other GPUs are not compatible for now. You will be billed by the minute from when you activate the GPU until when it is turned it off.</p>
235
- </div>
236
  ''')
237
  else:
238
  top_description = gr.HTML(f'''
239
- <div style="text-align: center; max-width: 650px; margin: 0 auto;">
240
- <div>
241
- <img class="logo" src="file/images/mirage.png" alt="Mirage Logo"
242
- style="margin: auto; max-width: 7rem;">
243
- <br />
244
- <h1 style="font-weight: 900; font-size: 2.5rem;">
245
- Point-E Web UI
246
- </h1>
247
- <br />
248
- <a class="duplicate-button" style="display:inline-block" target="_blank" href="https://huggingface.co/spaces/MirageML/point-e?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>
249
- </div>
250
- <br />
251
- <p style="margin-bottom: 10px; font-size: 94%">
252
- Generate 3D Assets in 2 minutes with a prompt or image!
253
- Based on the <a href="https://github.com/openai/point-e">Point-E</a> implementation
254
- </p>
255
- </div>
256
  ''')
257
  with gr.Row():
258
  with gr.Column():
 
214
  with gr.Box():
215
  if(not torch.cuda.is_available()):
216
  top_description = gr.HTML(f'''
217
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
218
  ''')
219
  else:
220
  top_description = gr.HTML(f'''
221
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
222
  ''')
223
  with gr.Row():
224
  with gr.Column():