Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -126,10 +126,11 @@ with gr.Blocks() as demo:
|
|
126 |
with gr.Column():
|
127 |
textbox_input = gr.Textbox(label="Prompt", lines=1, placeholder="Enter prompt here...")
|
128 |
button = gr.Button("Submit")
|
|
|
129 |
with gr.Column():
|
130 |
StoryBox = gr.Textbox(label="Story", lines=50, placeholder="Story here...", value=story_default_text)
|
131 |
|
132 |
-
|
133 |
|
134 |
start_btn.click(fn=start_chat, outputs=status_box)
|
135 |
end_btn.click(fn=finish_chat, outputs=status_box)
|
|
|
126 |
with gr.Column():
|
127 |
textbox_input = gr.Textbox(label="Prompt", lines=1, placeholder="Enter prompt here...")
|
128 |
button = gr.Button("Submit")
|
129 |
+
textbox_output = gr.Markdown(label="robot answer:", elem_id="scroll_output")
|
130 |
with gr.Column():
|
131 |
StoryBox = gr.Textbox(label="Story", lines=50, placeholder="Story here...", value=story_default_text)
|
132 |
|
133 |
+
|
134 |
|
135 |
start_btn.click(fn=start_chat, outputs=status_box)
|
136 |
end_btn.click(fn=finish_chat, outputs=status_box)
|