subatomicERROR commited on
Commit
84d12a6
·
verified ·
1 Parent(s): 4c8810c

Create app.py

Browse files

# 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()

Files changed (1) hide show
  1. app.py +0 -0
app.py ADDED
File without changes