AutoSpace / app.py
subatomicERROR's picture
Update app.py
6013b39 verified
raw
history blame
191 Bytes
# app.py
import gradio as gr
def generate(prompt):
# Do AI work here
return f"Generated for: {prompt}"
demo = gr.Interface(fn=generate, inputs="text", outputs="text")
demo.launch()