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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ 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
 
27
  async def wait(job):
 
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
 
27
  async def wait(job):