Spaces:
Sleeping
Sleeping
import gradio as gr | |
demo = gr.Interface(fn=get_image, | |
inputs = [gr.Textbox(label="Enter API key"), gr.Textbox(label="Enter the Prompt"), gr.Number(label="Enter number of steps"),gr.Checkbox(label="Safety filter")], | |
outputs = gr.Image(type='pil'), title = title, description = description).launch(debug='True') |