Skip to content

Commit

Permalink
Apply pre-commmit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nedpfeiffer authored and actions-user committed Jun 30, 2024
1 parent fef692a commit d7e6283
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion viz/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ ENV OPENAI_KEY=${OPENAI_KEY} \
POSTGRES_PASSWORD=${POSTGRES_PASSWORD} \
POSTGRES_DB=${POSTGRES_DB}

CMD ["python3", "-m", "flask", "--app", "server.py", "run", "--host=0.0.0.0"]
CMD ["python3", "-m", "flask", "--app", "server.py", "run", "--host=0.0.0.0"]
2 changes: 1 addition & 1 deletion viz/backend/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
database_name = os.getenv("POSTGRES_DB")
openai_key = os.getenv("OPENAI_KEY")
except:
pass
pass
2 changes: 1 addition & 1 deletion viz/backend/sqlchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
def sqlchain(input_text):
llm = ChatOpenAI(openai_api_key=config.openai_key,
model_name="gpt-3.5-turbo", temperature=0, verbose=True)

# Manual installation
try:
db = SQLDatabase.from_uri(
Expand Down

0 comments on commit d7e6283

Please sign in to comment.