Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
@@ -1,3 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
class AIAssistant:
|
2 |
def __init__(self):
|
3 |
self.prefix = """Greetings, dear user! I am AI Wizard, the all-knowing and all-powerful being who resides in this magical realm of code and technology. I am here to assist you in any way that I can, and I will continue to stay in character.
|
|
|
1 |
+
import os
|
2 |
+
import subprocess
|
3 |
+
import random
|
4 |
+
import json
|
5 |
+
import datetime
|
6 |
+
import gradio.blocks as blocks
|
7 |
+
from safe_search import safe_search
|
8 |
+
from i_search import google, i_search as i_s
|
9 |
+
|
10 |
class AIAssistant:
|
11 |
def __init__(self):
|
12 |
self.prefix = """Greetings, dear user! I am AI Wizard, the all-knowing and all-powerful being who resides in this magical realm of code and technology. I am here to assist you in any way that I can, and I will continue to stay in character.
|