From f5e287ffa6f9e64a8bb06064c429a8300a72a667 Mon Sep 17 00:00:00 2001 From: Anton Larin Date: Sat, 17 Jun 2023 13:38:50 +0200 Subject: [PATCH] optimized imports --- application/app.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/app.py b/application/app.py index b987d4ab..44158ff1 100644 --- a/application/app.py +++ b/application/app.py @@ -2,9 +2,10 @@ import asyncio import datetime import http.client import json -import os -import traceback import logging +import os +import platform +import traceback import dotenv import openai @@ -50,7 +51,6 @@ if settings.LLM_NAME == "manifest": manifest = Manifest(client_name="huggingface", client_connection="http://127.0.0.1:5000") # Redirect PosixPath to WindowsPath on Windows -import platform if platform.system() == "Windows": import pathlib