Spaces:
Paused
Paused
Commit
·
2eb4c7d
1
Parent(s):
4930961
app.py
CHANGED
@@ -134,9 +134,9 @@ with gr.Blocks(theme=gr.themes.Soft(), css=formatted_css) as block_demo:
|
|
134 |
value="FOLLOW UP", elem_id="buttonfollowup")
|
135 |
|
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()
|
|
|
134 |
value="FOLLOW UP", elem_id="buttonfollowup")
|
135 |
|
136 |
submit_button.click(
|
137 |
+
handleSubmit, [brain_name, enhancer_name, question, temperature, maxTokens], [output_text, memory],api_name="ask")
|
138 |
followupButton.click(
|
139 |
+
runAgent, [memory, followupquestion, temperature, maxTokens], [output_text, memory])
|
140 |
block_demo.load(getBrains, [], brain_name)
|
141 |
|
142 |
block_demo.launch()
|