dejinlee commited on
Commit
f9beaa8
1 Parent(s): 5b70056

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -10
app.py DELETED
@@ -1,10 +0,0 @@
1
- import gradio as gr
2
- from diffusers import StableDiffusionPipeline
3
-
4
- def draw(sets):
5
- pipe = StableDiffusionPipeline.from_pretrained("IDEA-CCNL/Taiyi-Stable-Diffusion-1B-Chinese-EN-v0.1").to("cuda")
6
- image = pipe(prompt, guidance_scale=10).images[0]
7
- return image
8
-
9
- iface = gr.Interface(fn=draw, inputs="text", outputs="image")
10
- iface.launch()