alfredplpl commited on
Commit
3a9ba34
1 Parent(s): 578fb43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -132,8 +132,7 @@ with gr.Blocks(css=css) as demo:
132
  <p>
133
  <a href="https://alfredplpl.hatenablog.com/entry/2023/01/11/182146">日本語の取扱説明書</a>.
134
  </p>
135
- Running on {"<b>GPU 🔥</b>" if torch.cuda.is_available() else f"<b>CPU 🥶</b>. For faster inference it is recommended to <b>upgrade to GPU in <a href='https://huggingface.co/spaces/akhaliq/cool-japan-diffusion-2-1-0/settings'>Settings</a></b>"} after duplicating the space<br><br>
136
- <a style="display:inline-block" href="https://huggingface.co/spaces/akhaliq/cool-japan-diffusion-2-1-0?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
137
  </div>
138
  """
139
  )
@@ -142,7 +141,7 @@ with gr.Blocks(css=css) as demo:
142
  with gr.Column(scale=55):
143
  with gr.Group():
144
  with gr.Row():
145
- prompt = gr.Textbox(label="Prompt", show_label=False, max_lines=2,placeholder=f"{prefix} [your prompt]").style(container=False)
146
  generate = gr.Button(value="Generate").style(rounded=(False, True, True, False))
147
 
148
  image_out = gr.Image(height=512)
 
132
  <p>
133
  <a href="https://alfredplpl.hatenablog.com/entry/2023/01/11/182146">日本語の取扱説明書</a>.
134
  </p>
135
+ Running on {"<b>GPU 🔥</b>" if torch.cuda.is_available() else f"<b>CPU 🥶</b>. For faster inference it is recommended to <b>upgrade to GPU in <a href='https://huggingface.co/spaces/akhaliq/cool-japan-diffusion-2-1-0/settings'>Settings</a></b>"}
 
136
  </div>
137
  """
138
  )
 
141
  with gr.Column(scale=55):
142
  with gr.Group():
143
  with gr.Row():
144
+ prompt = gr.Textbox(label="Prompt", show_label=False, max_lines=2,placeholder="[your prompt]").style(container=False)
145
  generate = gr.Button(value="Generate").style(rounded=(False, True, True, False))
146
 
147
  image_out = gr.Image(height=512)