wop commited on
Commit
ecfea01
1 Parent(s): 06a939d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ DISCORD_TOKEN = os.getenv("DISCORD_TOKEN")
20
  HF_TOKEN = os.getenv("HF_TOKEN")
21
  def ask(input_text):
22
  client = Client("https://wop-xxx-opengpt.hf.space/")
23
- result = client.predict(input_text, 0.9, 2000, 0.9, 1.2, api_name="/chat")
24
  #result = result[:-4]
25
  return result
26
 
 
20
  HF_TOKEN = os.getenv("HF_TOKEN")
21
  def ask(input_text):
22
  client = Client("https://wop-xxx-opengpt.hf.space/")
23
+ result = await client.predict(input_text, 0.9, 2000, 0.9, 1.2, api_name="/chat")
24
  #result = result[:-4]
25
  return result
26