Event 42 commited on
Commit ·
c551c55
1
Parent(s): 5e604f3
Add model
Browse files
app.py
CHANGED
|
@@ -1,7 +1,13 @@
|
|
| 1 |
import gradio as gr
|
|
|
|
| 2 |
|
|
|
|
|
|
|
|
|
|
| 3 |
def greet(name):
|
| 4 |
return "Hello " + name + "!!"
|
| 5 |
|
| 6 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 7 |
-
iface.launch()
|
|
|
|
|
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
from diffusers import DiffusionPipeline
|
| 3 |
|
| 4 |
+
pipeline = DiffusionPipeline.from_pretrained("PAIR/text2video-zero-controlnet-canny-anime")
|
| 5 |
+
|
| 6 |
+
"""
|
| 7 |
def greet(name):
|
| 8 |
return "Hello " + name + "!!"
|
| 9 |
|
| 10 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 11 |
+
iface.launch()"""
|
| 12 |
+
|
| 13 |
+
#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∫
|