Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -134,7 +134,7 @@ with gr.Blocks(theme=theme) as demo:
|
|
134 |
teoria = gr.Textbox(label = "Teoría del caso", lines = 5, show_label = True, show_copy_button= True)
|
135 |
btn = gr.Button("Generar")
|
136 |
output = gr.Markdown(label = "respuesta", show_label = True, show_copy_button= True)
|
137 |
-
btn.click(fn=inference, inputs=[hechos, tema, teoria], outputs=output, api_name=
|
138 |
|
139 |
if __name__ == "__main__":
|
140 |
demo.queue()
|
|
|
134 |
teoria = gr.Textbox(label = "Teoría del caso", lines = 5, show_label = True, show_copy_button= True)
|
135 |
btn = gr.Button("Generar")
|
136 |
output = gr.Markdown(label = "respuesta", show_label = True, show_copy_button= True)
|
137 |
+
btn.click(fn=inference, inputs=[hechos, tema, teoria], outputs=output, api_name='inference')
|
138 |
|
139 |
if __name__ == "__main__":
|
140 |
demo.queue()
|