Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ pipe = AutoPipelineForImage2Image.from_pretrained(
|
|
9 |
"nitrosocke/Arcane-Diffusion",
|
10 |
safety_checker=None,
|
11 |
)
|
12 |
-
#
|
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",
|
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",
|