Spaces:
Runtime error
Runtime error
Commit
·
150bfee
1
Parent(s):
1c365c7
update llm
Browse files
app.py
CHANGED
@@ -105,8 +105,9 @@ class GPTRemote(LLM):
|
|
105 |
run_manager: Optional[CallbackManagerForLLMRun] = None,
|
106 |
**kwargs: Any,
|
107 |
) -> LLMResult:
|
108 |
-
|
109 |
-
|
|
|
110 |
"""Run the LLM on the given prompts."""
|
111 |
|
112 |
GPTfake = GPTRemote(n=0)
|
|
|
105 |
run_manager: Optional[CallbackManagerForLLMRun] = None,
|
106 |
**kwargs: Any,
|
107 |
) -> LLMResult:
|
108 |
+
result = LLMResult()
|
109 |
+
result.generations = [Generation("test result")]
|
110 |
+
return result
|
111 |
"""Run the LLM on the given prompts."""
|
112 |
|
113 |
GPTfake = GPTRemote(n=0)
|