Spaces:
Runtime error
Runtime error
Commit
·
befcdf9
1
Parent(s):
cb75873
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,12 +1,3 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
|
| 4 |
-
"layout": "vertical",
|
| 5 |
-
"width": 700,
|
| 6 |
-
"title": "Text to Image Prompt Generator",
|
| 7 |
-
"description": "Generate beautiful images from text prompts.",
|
| 8 |
-
"inputs": gr.Textbox(),
|
| 9 |
-
"outputs": gr.Image()
|
| 10 |
-
}
|
| 11 |
-
|
| 12 |
-
gr.Interface.fn("models/succinctly/text2image-prompt-generator", interface_options=interface_options).launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
+
gr.load("models/succinctly/text2image-prompt-generator").launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|