Pclanglais commited on
Commit
98760a9
·
verified ·
1 Parent(s): 9d92bca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -176,7 +176,7 @@ with gr.Blocks(theme='gradio/monochrome', css=css) as demo:
176
  context_input = gr.Textbox(label="Your context", type="text", lines=1)
177
  text_button = gr.Button("Query InaguaLLM")
178
  text_output = gr.HTML(label="Answer")
179
- text_button.click(mistral_bot.predict, inputs=[text_input, context_input], outputs=[text_output])
180
 
181
  if __name__ == "__main__":
182
  demo.queue().launch()
 
176
  context_input = gr.Textbox(label="Your context", type="text", lines=1)
177
  text_button = gr.Button("Query InaguaLLM")
178
  text_output = gr.HTML(label="Answer")
179
+ text_button.click(mistral_bot.predict, inputs=[text_input, context_input], outputs=[text_output], api_name="convert-code")
180
 
181
  if __name__ == "__main__":
182
  demo.queue().launch()