Update app.py
Browse filesAdd the following line : LLM_INSTANCE = None
app.py
CHANGED
|
@@ -43,6 +43,8 @@ warnings.filterwarnings('ignore')
|
|
| 43 |
# )
|
| 44 |
# return watsonx_llm
|
| 45 |
|
|
|
|
|
|
|
| 46 |
def get_llm():
|
| 47 |
global LLM_INSTANCE
|
| 48 |
if LLM_INSTANCE is not None:
|
|
|
|
| 43 |
# )
|
| 44 |
# return watsonx_llm
|
| 45 |
|
| 46 |
+
LLM_INSTANCE = None
|
| 47 |
+
|
| 48 |
def get_llm():
|
| 49 |
global LLM_INSTANCE
|
| 50 |
if LLM_INSTANCE is not None:
|