Tonic commited on
Commit
e17998d
·
1 Parent(s): b5265a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -25,8 +25,10 @@ def create_interface():
25
  gr.Markdown("""You can build with this endpoint using Nexus Raven. The demo is still a work in progress but we hope to add some endpoints for commonly used functions such as intention mappers and audiobook processing.""")
26
  with gr.Row():
27
  input_text = gr.Textbox(label="Input Text")
28
- output_text = gr.Textbox(label="Nexus🐦‍⬛Raven", readonly=True)
29
- input_text.change(converter.process_text, inputs=input_text, outputs=output_text)
 
 
30
 
31
  return app
32
 
 
25
  gr.Markdown("""You can build with this endpoint using Nexus Raven. The demo is still a work in progress but we hope to add some endpoints for commonly used functions such as intention mappers and audiobook processing.""")
26
  with gr.Row():
27
  input_text = gr.Textbox(label="Input Text")
28
+ output_text = gr.Textbox(label="Nexus🐦‍⬛Raven")
29
+ submit_button = gr.Button("Submit")
30
+
31
+ submit_button.click(converter.process_text, inputs=input_text, outputs=output_text)
32
 
33
  return app
34