sharjeel1477 commited on
Commit
4930961
·
1 Parent(s): 4996e26
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -136,7 +136,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=formatted_css) as block_demo:
136
  submit_button.click(
137
  handleSubmit, [brain_name, enhancer_name, question, temperature, maxTokens], [output_text, memory])
138
  followupButton.click(
139
- runAgent, [memory, followupquestion, temperature, maxTokens], [output_text, memory])
140
  block_demo.load(getBrains, [], brain_name)
141
 
142
- block_demo.launch(show_api=False)
 
136
  submit_button.click(
137
  handleSubmit, [brain_name, enhancer_name, question, temperature, maxTokens], [output_text, memory])
138
  followupButton.click(
139
+ runAgent, [memory, followupquestion, temperature, maxTokens], [output_text, memory],api_name="ask")
140
  block_demo.load(getBrains, [], brain_name)
141
 
142
+ block_demo.launch()