gpu zero
Browse files
app.py
CHANGED
@@ -1,8 +1,9 @@
|
|
|
|
1 |
import gradio as gr
|
2 |
from functools import partial
|
3 |
from makeanime.cli import main
|
4 |
|
5 |
-
generate_image = partial(main, is_gradio=True)
|
6 |
|
7 |
with gr.Blocks() as demo:
|
8 |
gr.Markdown("# makeanime: Turn your image into an anime")
|
|
|
1 |
+
import spaces
|
2 |
import gradio as gr
|
3 |
from functools import partial
|
4 |
from makeanime.cli import main
|
5 |
|
6 |
+
generate_image = spaces.GPU(partial(main, is_gradio=True))
|
7 |
|
8 |
with gr.Blocks() as demo:
|
9 |
gr.Markdown("# makeanime: Turn your image into an anime")
|