Spaces:
Paused
Paused
Update app.py
Browse files
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):
|