Spaces:
Paused
Paused
Update app.py
Browse files
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"
|
29 |
-
|
|
|
|
|
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 |
|