Spaces:
Runtime error
Runtime error
kwabs22
commited on
Commit
·
896fd91
1
Parent(s):
1d06d8e
Story Prompts as front end test
Browse files
app.py
CHANGED
|
@@ -763,8 +763,9 @@ with gr.Blocks() as demo:
|
|
| 763 |
gr.HTML("Placeholder for each below prompt getting a Textbox")
|
| 764 |
for item in Storycraftprompts:
|
| 765 |
input = gr.State(item)
|
| 766 |
-
output = gr.Textbox("")
|
| 767 |
-
|
|
|
|
| 768 |
|
| 769 |
with gr.Accordion("Old Ideas to merge", open=False):
|
| 770 |
gr.HTML("Random Scenario / Song to 'full game' manual or auto is end goal ")
|
|
|
|
| 763 |
gr.HTML("Placeholder for each below prompt getting a Textbox")
|
| 764 |
for item in Storycraftprompts:
|
| 765 |
input = gr.State(item)
|
| 766 |
+
output = gr.Textbox("", label=item)
|
| 767 |
+
print(type(item))
|
| 768 |
+
outputbtn = gr.Button("current prompt").click(fn=llmguide_generate_response, inputs=item, outputs=output)
|
| 769 |
|
| 770 |
with gr.Accordion("Old Ideas to merge", open=False):
|
| 771 |
gr.HTML("Random Scenario / Song to 'full game' manual or auto is end goal ")
|