vpcom commited on
Commit
aeb8735
·
1 Parent(s): 62690c8

feat: use the textbox.info as the output of evolve_text

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -162,8 +162,8 @@ with gr.Blocks(css=CSS) as demo:
162
  chatbot.like(vote, None, None)
163
  chat_interface.render()
164
 
165
- output = gr.Textbox(label="What you can expect coming:")
166
- textbox.change(fn=evolve_text, inputs=textbox, outputs=output,
167
  show_progress = False, status_tracker = None)
168
 
169
  demo.queue(concurrency_count=100, api_open=False).launch(show_api=False) #, share=True)
 
162
  chatbot.like(vote, None, None)
163
  chat_interface.render()
164
 
165
+ #output = gr.Textbox(label="What you can expect coming:")
166
+ textbox.change(fn=evolve_text, inputs=textbox, outputs=textbox.info,
167
  show_progress = False, status_tracker = None)
168
 
169
  demo.queue(concurrency_count=100, api_open=False).launch(show_api=False) #, share=True)