minato56 commited on
Commit
46a4a07
·
verified ·
1 Parent(s): 87d4166

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -30,14 +30,13 @@ def respond(
30
 
31
  # Developer Mode activation only after code written
32
  if "Rom98" in message:
33
- dev_mode = True
34
  yield "✅ Developer Mode activated! You can now tell me to change my code and I will update it for you i am here to here you minato 56."
35
  return
36
  if not code_written:
37
  yield "⚠️ يجب أن تكتب الكود أولاً قبل تفعيل Developer Mode!"
38
  return
39
 
40
-
41
  # Add welcome message if history is empty
42
  if not history:
43
  history.extend(initial_messages)
 
30
 
31
  # Developer Mode activation only after code written
32
  if "Rom98" in message:
33
+ dev_mode = True
34
  yield "✅ Developer Mode activated! You can now tell me to change my code and I will update it for you i am here to here you minato 56."
35
  return
36
  if not code_written:
37
  yield "⚠️ يجب أن تكتب الكود أولاً قبل تفعيل Developer Mode!"
38
  return
39
 
 
40
  # Add welcome message if history is empty
41
  if not history:
42
  history.extend(initial_messages)