Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| interface_options = { | |
| "layout": "vertical", | |
| "width": 700, | |
| "title": "Text to Image Prompt Generator", | |
| "description": "Generate beautiful images from text prompts.", | |
| "inputs": gr.inputs.Textbox(), | |
| "outputs": gr.outputs.Image() | |
| } | |
| gr.Interface.fn("models/succinctly/text2image-prompt-generator", interface_options=interface_options).launch() | |