Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
phamson02
/
tho_ai
like
2
Runtime error
App
Files
Files
Community
ebf036f
tho_ai
/
generate_poem.py
phamson02
update
ebf036f
over 1 year ago
raw
Copy download link
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"
,
)