amankishore akhaliq HF staff commited on
Commit
c7f38a3
1 Parent(s): 5ecf930

add back previous duplicate space card (#5)

Browse files

- add back previous duplicate space card (85f9c8eb33a09f1ffca84754b113e5f687c20359)


Co-authored-by: Ahsen Khaliq <akhaliq@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -40,8 +40,14 @@ with gr.Blocks(css=css) as demo:
40
  # title
41
  gr.Markdown('# [Score Jacobian Chaining](https://github.com/pals-ttic/sjc): Lifting Pretrained 2D Diffusion Models for 3D Generation')
42
 
43
- gr.HTML("<p>You can skip the queue by duplicating this space: <a style='display:inline-block' href='https://huggingface.co/spaces/MirageML/sjc?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></p>")
44
-
 
 
 
 
 
 
45
  # inputs
46
  prompt = gr.Textbox(label="Prompt", max_lines=1, value="A high quality photo of a delicious burger")
47
  iters = gr.Slider(label="Iters", minimum=100, maximum=20000, value=10000, step=100)
 
40
  # title
41
  gr.Markdown('# [Score Jacobian Chaining](https://github.com/pals-ttic/sjc): Lifting Pretrained 2D Diffusion Models for 3D Generation')
42
 
43
+ gr.HTML(f'''
44
+ <div class="gr-prose" style="max-width: 80%">
45
+ <h2>Attention - This Space takes over 30min to run!</h2>
46
+ <p>If the Queue is too long you can run locally or duplicate the Space and run it on your own profile using a (paid) private T4 GPU for training. As each T4 costs US$0.60/h, it should cost < US$1 to train most models using default settings!&nbsp;&nbsp;<a class="duplicate-button" style="display:inline-block" target="_blank" href="https://huggingface.co/spaces/MirageML/sjc?duplicate=true"></p>
47
+ <img class="instruction" src="file/duplicate.png">
48
+ <img class="arrow" src="file/arrow.png" />
49
+ </div>
50
+ ''')
51
  # inputs
52
  prompt = gr.Textbox(label="Prompt", max_lines=1, value="A high quality photo of a delicious burger")
53
  iters = gr.Slider(label="Iters", minimum=100, maximum=20000, value=10000, step=100)