Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -147,7 +147,13 @@ with gr.Blocks(css='style.css') as demo:
|
|
147 |
run.click(send_it1, inputs=[prompt, noise_level], outputs=[output1])
|
148 |
run.click(send_it2, inputs=[prompt, noise_level], outputs=[output2])
|
149 |
|
|
|
|
|
|
|
|
|
|
|
150 |
|
|
|
151 |
|
152 |
|
153 |
with gr.Row():
|
|
|
147 |
run.click(send_it1, inputs=[prompt, noise_level], outputs=[output1])
|
148 |
run.click(send_it2, inputs=[prompt, noise_level], outputs=[output2])
|
149 |
|
150 |
+
with gr.Column() as teste:
|
151 |
+
input_txt = gr.Text()
|
152 |
+
output_text = gr.Text()
|
153 |
+
submit_text = gr.Button()
|
154 |
+
submit_text.click(send_it_all, inputs=[input_txt] , outputs=[output1, output2], api_name="text", show_progress=True)
|
155 |
|
156 |
+
teste.unrender()
|
157 |
|
158 |
|
159 |
with gr.Row():
|