Duplicated from ldhldh/langchain_kaka_api
35 unmodified lines363738393940414235 unmodified lines def chat(): global q if !q.empty(): if not q.empty(): arr = q.get() start = time.time() result = gradio_client.predict(