Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -68,5 +68,9 @@ if __name__ == '__main__':
|
|
68 |
gr.Dropdown(choices=PoetryGenerator.GENRES, label="Genre"),
|
69 |
gr.Slider(1, MAX_POEMS, step=1, label="Number of poems")
|
70 |
],
|
71 |
-
outputs='text'
|
|
|
|
|
|
|
|
|
72 |
).launch()
|
|
|
68 |
gr.Dropdown(choices=PoetryGenerator.GENRES, label="Genre"),
|
69 |
gr.Slider(1, MAX_POEMS, step=1, label="Number of poems")
|
70 |
],
|
71 |
+
outputs='text',
|
72 |
+
examples=[
|
73 |
+
['thân em', 'lục bát', 2],
|
74 |
+
['chiều chiều', 'bảy chữ', 1]
|
75 |
+
]
|
76 |
).launch()
|