multimodalart HF Staff commited on
Commit
0751faf
·
verified ·
1 Parent(s): e198222

[Admin maintenance] Support new ZeroGPU hardware

Browse files

Thank you so much for having shared this Space with the community on this demo. We have upgraded the ZeroGPU infra-structure to run on modern blackwell architecture.
For that, we need to upgrade your demo to support that. This PR fixes your demo to work with the new architecture. As this is something we broke on our end, we may merge this PR autonomously. If this breaks unexpectedly or brings unintended consequences, feel free to revert, modify or otherwise. Any issues you can email apolinario@huggingface.co

Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -221,7 +221,6 @@ TIPO is a tool to extend, generate, refine the input prompt for T2I models.
221
  tags_input = gr.TextArea(
222
  label="Danbooru Tags",
223
  lines=7,
224
- show_copy_button=True,
225
  interactive=True,
226
  value=DEFAULT_TAGS,
227
  placeholder="Enter danbooru tags here",
@@ -229,7 +228,6 @@ TIPO is a tool to extend, generate, refine the input prompt for T2I models.
229
  nl_prompt_input = gr.Textbox(
230
  label="Natural Language Prompt",
231
  lines=7,
232
- show_copy_button=True,
233
  interactive=True,
234
  value=DEFAULT_NL,
235
  placeholder="Enter Natural Language Prompt here",
@@ -292,7 +290,7 @@ TIPO is a tool to extend, generate, refine the input prompt for T2I models.
292
  cost_time = gr.Markdown()
293
  with gr.Column(scale=5):
294
  result = gr.TextArea(
295
- label="Result", lines=8, show_copy_button=True, interactive=False
296
  )
297
  input_prompt = gr.Textbox(
298
  label="Input Prompt", lines=1, interactive=False, visible=False
 
221
  tags_input = gr.TextArea(
222
  label="Danbooru Tags",
223
  lines=7,
 
224
  interactive=True,
225
  value=DEFAULT_TAGS,
226
  placeholder="Enter danbooru tags here",
 
228
  nl_prompt_input = gr.Textbox(
229
  label="Natural Language Prompt",
230
  lines=7,
 
231
  interactive=True,
232
  value=DEFAULT_NL,
233
  placeholder="Enter Natural Language Prompt here",
 
290
  cost_time = gr.Markdown()
291
  with gr.Column(scale=5):
292
  result = gr.TextArea(
293
+ label="Result", lines=8, interactive=False
294
  )
295
  input_prompt = gr.Textbox(
296
  label="Input Prompt", lines=1, interactive=False, visible=False