Spaces:
Sleeping
Sleeping
andrew3279
commited on
Commit
•
b0dd69b
1
Parent(s):
b8c3b2c
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ with gr.Blocks() as web:
|
|
45 |
gr.Markdown("""<center>******</center>""")
|
46 |
|
47 |
|
48 |
-
input_text = gr.Textbox(label="故事的开始", value=
|
49 |
buton = gr.Button("Submit ")
|
50 |
output_text = gr.Textbox(lines=6, label="人工智能讲一个故事 :")
|
51 |
buton.click(generate_text, inputs=[input_text], outputs=output_text)
|
|
|
45 |
gr.Markdown("""<center>******</center>""")
|
46 |
|
47 |
|
48 |
+
input_text = gr.Textbox(label="故事的开始", value="在空中飞翔", lines=6)
|
49 |
buton = gr.Button("Submit ")
|
50 |
output_text = gr.Textbox(lines=6, label="人工智能讲一个故事 :")
|
51 |
buton.click(generate_text, inputs=[input_text], outputs=output_text)
|