vilarin commited on
Commit
b8c0c7f
·
verified ·
1 Parent(s): 6952a60

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()