Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,12 +31,26 @@ def respond(
|
|
| 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
|
| 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)
|
|
|
|
| 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 help you minato_56."
|
| 35 |
return
|
| 36 |
if not code_written:
|
| 37 |
yield "⚠️ يجب أن تكتب الكود أولاً قبل تفعيل Developer Mode!"
|
| 38 |
return
|
| 39 |
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
#FRIENDS MODE
|
| 43 |
+
if "F9U" in message:
|
| 44 |
+
|
| 45 |
+
F9U = True
|
| 46 |
+
yield "Friends mod has been activated🤞✌💤^_____^."
|
| 47 |
+
return
|
| 48 |
+
if not code_written:
|
| 49 |
+
pass
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
|
| 54 |
# Add welcome message if history is empty
|
| 55 |
if not history:
|
| 56 |
history.extend(initial_messages)
|