Spaces:
Runtime error
Runtime error
Commit
·
a119d31
1
Parent(s):
fe865ca
add debug
Browse files
app.py
CHANGED
@@ -585,10 +585,13 @@ def SetAgent(Choice):
|
|
585 |
global agent
|
586 |
if Choice =='Zero Short Agent':
|
587 |
agent = agent_ZEROSHOT_AGENT
|
|
|
588 |
elif Choice =='Zero Short React':
|
589 |
agent = agent_ZEROSHOT_REACT
|
|
|
590 |
elif Choice =='OpenAI Multi':
|
591 |
agent = agent_OPENAI_MULTI
|
|
|
592 |
|
593 |
with gr.Blocks() as demo:
|
594 |
# gr.Markdown("Start typing below and then click **SUBMIT** to see the output.")
|
|
|
585 |
global agent
|
586 |
if Choice =='Zero Short Agent':
|
587 |
agent = agent_ZEROSHOT_AGENT
|
588 |
+
print("Set to:", Choice)
|
589 |
elif Choice =='Zero Short React':
|
590 |
agent = agent_ZEROSHOT_REACT
|
591 |
+
print("Set to:", Choice)
|
592 |
elif Choice =='OpenAI Multi':
|
593 |
agent = agent_OPENAI_MULTI
|
594 |
+
print("Set to:", Choice)
|
595 |
|
596 |
with gr.Blocks() as demo:
|
597 |
# gr.Markdown("Start typing below and then click **SUBMIT** to see the output.")
|