Update app.py
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ def stream_chat(message: str, history: list, model: str, temperature: float, max
|
|
95 |
if message.startswith("/"):
|
96 |
ollama_func(message)
|
97 |
else:
|
98 |
-
if INIT_SIGN:
|
99 |
return "Please Enter /init to initialize Ollama"
|
100 |
else:
|
101 |
launch()
|
|
|
95 |
if message.startswith("/"):
|
96 |
ollama_func(message)
|
97 |
else:
|
98 |
+
if not INIT_SIGN:
|
99 |
return "Please Enter /init to initialize Ollama"
|
100 |
else:
|
101 |
launch()
|