tho_ai / generate_poem.py
phamson02
update
ebf036f
raw
history blame
241 Bytes
import gradio as gr
def generate_poem(text):
pass
generate_poem_interface = gr.Interface(
fn=generate_poem,
inputs=[
gr.components.Textbox(lines=1, placeholder="First words of the poem"),
],
outputs="text",
)