Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,8 @@ bot = discord.Bot(intents=intents)
|
|
15 |
|
16 |
client = Client("hysts/mistral-7b")
|
17 |
def predict(text,history=""):
|
18 |
-
|
|
|
19 |
|
20 |
@bot.event
|
21 |
async def on_ready():
|
|
|
15 |
|
16 |
client = Client("hysts/mistral-7b")
|
17 |
def predict(text,history=""):
|
18 |
+
out = client.predict(text,history, 0.9, 256, 0.95, 1.0)
|
19 |
+
return out
|
20 |
|
21 |
@bot.event
|
22 |
async def on_ready():
|