Skip to content

Commit 6eb637a

Browse files
committed
Pretty sure we oughtta set our path before we try to runour source there huh?! Duh!
1 parent 4a98d2d commit 6eb637a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

app.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,9 @@ async def get_article_summaries(request_body, request_headers, URLsToBrowse):
553553
set_status_message("Browsing...")
554554

555555
currentPage += 1
556+
print(f"currentPage: {currentPage}\nSummary: {summary}")
556557

558+
print(f"Summaries: {Summaries}")
557559
return Summaries
558560

559561
async def is_background_info_sufficient(request_body, request_headers, Summaries):
@@ -1108,4 +1110,4 @@ async def generate_title(conversation_messages) -> str:
11081110
app = create_app()
11091111

11101112
if __name__ == '__main__':
1111-
app.run(debug=True)
1113+
app.run(debug=False)

deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
# Unpack the pre-built virtual environment
44
tar -xzf venv.tar.gz
55

6+
export PATH=$PATH:/home/.local/bin:/home/site/wwwroot/venv/bin
7+
68
# Activate the virtual environment
79
source venv/bin/activate
810

9-
export PATH=$PATH:/home/.local/bin:/home/site/wwwroot/venv/bin
10-
1111
# Check if python3 is available
1212
if ! command -v python3 &> /dev/null
1313
then

0 commit comments

Comments
 (0)