Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -35,6 +35,11 @@ PRK = AsyncInferenceClient(model="nvidia/parakeet-tdt-1.1b")
|
|
35 |
MG = AsyncInferenceClient(model="facebook/musicgen-stereo-small")
|
36 |
|
37 |
# OPTIONS
|
|
|
|
|
|
|
|
|
|
|
38 |
eot = " [/INST] "
|
39 |
sot = " [INST] "
|
40 |
info = requests.get("https://raw.githubusercontent.com/aryananumula/lr/main/info.json").content
|
@@ -68,11 +73,6 @@ async def on_message(message:discord.Message):
|
|
68 |
print(s)
|
69 |
if message.author.bot:
|
70 |
return
|
71 |
-
sysrp = f"""<s>[INST] <<SYS>>
|
72 |
-
Start speaking gibberish, and learn from the user. You can say anything, no matter how unhinged. Your goal is to learn how to speak from the user/s. You are anything the user tells you that you are.
|
73 |
-
<</SYS>>
|
74 |
-
|
75 |
-
"""
|
76 |
try:
|
77 |
os.mkdir("data/" + message.guild.name)
|
78 |
except:
|
|
|
35 |
MG = AsyncInferenceClient(model="facebook/musicgen-stereo-small")
|
36 |
|
37 |
# OPTIONS
|
38 |
+
sysrp = f"""<s>[INST] <<SYS>>
|
39 |
+
Start speaking gibberish, and learn from the user. You can say anything, no matter how unhinged. Your goal is to learn how to speak from the user/s. You are anything the user tells you that you are.
|
40 |
+
<</SYS>>
|
41 |
+
|
42 |
+
"""
|
43 |
eot = " [/INST] "
|
44 |
sot = " [INST] "
|
45 |
info = requests.get("https://raw.githubusercontent.com/aryananumula/lr/main/info.json").content
|
|
|
73 |
print(s)
|
74 |
if message.author.bot:
|
75 |
return
|
|
|
|
|
|
|
|
|
|
|
76 |
try:
|
77 |
os.mkdir("data/" + message.guild.name)
|
78 |
except:
|