MohamedRashad commited on
Commit
bcd2b78
·
1 Parent(s): 73ad0bf

chore: Update app.py with Paints Undo header and project links

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -103,7 +103,6 @@ def resize_without_crop(image, target_width, target_height):
103
  return np.array(resized_image)
104
 
105
 
106
- @spaces.GPU()
107
  def interrogator_process(x):
108
  image_description = wd14tagger.default_interrogator(x)
109
  return image_description
@@ -223,7 +222,9 @@ def process_video(keyframes, prompt, steps, cfg, fps, seed, progress=gr.Progress
223
 
224
  block = gr.Blocks().queue()
225
  with block:
226
- gr.Markdown('# Paints-Undo')
 
 
227
 
228
  with gr.Accordion(label='Step 1: Upload Image and Generate Prompt', open=True):
229
  with gr.Row():
 
103
  return np.array(resized_image)
104
 
105
 
 
106
  def interrogator_process(x):
107
  image_description = wd14tagger.default_interrogator(x)
108
  return image_description
 
222
 
223
  block = gr.Blocks().queue()
224
  with block:
225
+ gr.HTML("<center><h1>Paints Undo</h1></center>")
226
+ gr.HTML("<center><h3>Paints Undo is a tool that generates key frames and videos from a single image.</h3></center>")
227
+ gr.HTML("<center><a href='https://github.com/lllyasviel/Paints-UNDO'>GitHub</a> - <a href='https://lllyasviel.github.io/pages/paints_undo/'>Project Page</a></center>")
228
 
229
  with gr.Accordion(label='Step 1: Upload Image and Generate Prompt', open=True):
230
  with gr.Row():