Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ with demo:
|
|
99 |
input_word = gr.Textbox(lines=7, value=prompt)
|
100 |
|
101 |
examples=[["living, loving, feeling good"], ["I want to live. I want to give."],["Ive been to Hollywood. Ive been to Redwood"]]
|
102 |
-
example_text = gr.Dataset(components=[
|
103 |
example_text.click(fn=set_example,inputs = example_text,outputs= example_text.components)
|
104 |
|
105 |
poem_txt = gr.Textbox(lines=7)
|
|
|
99 |
input_word = gr.Textbox(lines=7, value=prompt)
|
100 |
|
101 |
examples=[["living, loving, feeling good"], ["I want to live. I want to give."],["Ive been to Hollywood. Ive been to Redwood"]]
|
102 |
+
example_text = gr.Dataset(components=[input_word], samples=examples)
|
103 |
example_text.click(fn=set_example,inputs = example_text,outputs= example_text.components)
|
104 |
|
105 |
poem_txt = gr.Textbox(lines=7)
|