Spaces:
Runtime error
Runtime error
import gradio as gr | |
def unavailable_message(): | |
return "Image generation is not available (account dead)" | |
# Create Gradio interface | |
iface = gr.Interface( | |
fn=unavailable_message, | |
inputs=gr.Button("Image generation is not available (account dead)"), | |
outputs="text" | |
) | |
# Launching the interface | |
iface.launch() | |