SpiderReddy commited on
Commit
006a785
·
verified ·
1 Parent(s): fd8a3d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,7 +9,7 @@ pipe = AutoPipelineForImage2Image.from_pretrained(
9
  "nitrosocke/Arcane-Diffusion",
10
  safety_checker=None,
11
  )
12
- # Do NOT move to cuda; let it run on CPU by default
13
 
14
  # Function to process a single frame
15
  def process_frame(frame, prompt):
@@ -50,7 +50,7 @@ iface = gr.Interface(
50
  fn=video_to_anime,
51
  inputs=[
52
  gr.Video(label="Input Video"),
53
- gr.Textbox(label="Style Prompt", default="Arcane style")
54
  ],
55
  outputs=gr.Video(label="Output Video"),
56
  title="Video to Anime Converter",
 
9
  "nitrosocke/Arcane-Diffusion",
10
  safety_checker=None,
11
  )
12
+ # Running on CPU by default (no .to("cuda"))
13
 
14
  # Function to process a single frame
15
  def process_frame(frame, prompt):
 
50
  fn=video_to_anime,
51
  inputs=[
52
  gr.Video(label="Input Video"),
53
+ gr.Textbox(label="Style Prompt", value="Arcane style") # Changed 'default' to 'value'
54
  ],
55
  outputs=gr.Video(label="Output Video"),
56
  title="Video to Anime Converter",