Spaces:
Build error
Build error
Commit
·
7590549
1
Parent(s):
a780772
Update app.py
Browse files
app.py
CHANGED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
title = "Stable plus prompt generator"
|
4 |
+
|
5 |
+
tts_demo = gr.Interface.load(
|
6 |
+
"models/runwayml/stable-diffusion-v1-5",
|
7 |
+
title=None,
|
8 |
+
description="Give me something to paint!",
|
9 |
+
)
|
10 |
+
|
11 |
+
stt_demo = gr.Interface.load(
|
12 |
+
"models/succinctly/text2image-prompt-generator",
|
13 |
+
title=None,
|
14 |
+
description="Let me try to guess what you're saying!",
|
15 |
+
)
|
16 |
+
|
17 |
+
demo = gr.TabbedInterface([tts_demo, stt_demo], ["paint", "text"])
|
18 |
+
|
19 |
+
demo.launch()
|