Ticio commited on
Commit
51293ca
·
verified ·
1 Parent(s): 3a06d59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=False)
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()