not-lain commited on
Commit
7c7715d
·
verified ·
1 Parent(s): 7163b1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- return client.predict(text,history, 0.9, 256, 0.95, 1.0)
 
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():