Skip to content

Commit

Permalink
resolve E402 Module level import not at top of file
Browse files Browse the repository at this point in the history
  • Loading branch information
ks6088ts committed Aug 10, 2023
1 parent 5a51d9f commit b32ca46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1.call-center/app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import openai
from azure.ai.textanalytics import TextAnalyticsClient
from azure.identity import DefaultAzureCredential
from werkzeug.middleware.proxy_fix import ProxyFix

from utilities import config

Expand All @@ -33,7 +34,6 @@
text_analytics_client = None

# For generating https scheme when deployed behind reverse proxy
from werkzeug.middleware.proxy_fix import ProxyFix
app.wsgi_app = ProxyFix(app.wsgi_app, x_proto=1, x_host=1)

@app.route('/', methods=['GET'])
Expand Down

0 comments on commit b32ca46

Please sign in to comment.