@ -266,7 +266,7 @@ async def serverless_automatic_request(payload, cmd, api_url: str, api_key: str)
}
# Define your inputs
#payload.update({"api_endpoint": cmd})
payload.update({"api_endpoint": str(cmd)})
input_data = {
"input": payload,
"cmd": cmd,
@ -271,6 +271,8 @@ class ChatBot(object):
self.chat_history = None
self.room_config = {}
self.negative_prompt = None
if STORE_PATH and not os.path.isdir(STORE_PATH):
os.mkdir(STORE_PATH)