Spaces:
Runtime error
Runtime error
Commit
·
e34124f
1
Parent(s):
09a8433
update text
Browse files
app.py
CHANGED
|
@@ -85,7 +85,7 @@ class GPTRemote(LLM):
|
|
| 85 |
run_manager: Optional[CallbackManagerForLLMRun] = None,
|
| 86 |
**kwargs: Any
|
| 87 |
) -> str:
|
| 88 |
-
print("prompt", prompt)
|
| 89 |
output = "test custom llm"
|
| 90 |
return output
|
| 91 |
|
|
@@ -893,7 +893,7 @@ def SetAgent(Choice):
|
|
| 893 |
print("Set to:", Choice)
|
| 894 |
elif Choice =='Zero Short React 2':
|
| 895 |
agent = agent_ZEROSHOT_REACT_2
|
| 896 |
-
|
| 897 |
|
| 898 |
global record
|
| 899 |
record = []
|
|
|
|
| 85 |
run_manager: Optional[CallbackManagerForLLMRun] = None,
|
| 86 |
**kwargs: Any
|
| 87 |
) -> str:
|
| 88 |
+
print("prompt:", prompt)
|
| 89 |
output = "test custom llm"
|
| 90 |
return output
|
| 91 |
|
|
|
|
| 893 |
print("Set to:", Choice)
|
| 894 |
elif Choice =='Zero Short React 2':
|
| 895 |
agent = agent_ZEROSHOT_REACT_2
|
| 896 |
+
print("Set to:", Choice)
|
| 897 |
|
| 898 |
global record
|
| 899 |
record = []
|