time to test on old

This commit is contained in:
ForeverPyrite
2024-09-27 22:44:17 -04:00
parent e00ce4acd7
commit fce6477c99
2 changed files with 1 additions and 1 deletions

2
app.py
View File

@@ -27,7 +27,7 @@ def process_url():
# Process the transcript and stream the result.
response = create_and_stream(transcript)
log.write(f"\n\n\n### New Entry at {datetime.now(pytz.timezone('America/New_York')).strftime('%Y-%m-%d %H:%M:%S')}\n\n URL: {url}\n Video ID: {video_id}\n\nAssistant Response: {response}")
log.write(f"\n\n\n### New Entry at {datetime.now(pytz.timezone('America/New_York')).strftime('%Y-%m-%d %H:%M:%S')}\n\n URL: {url}\n Video ID: {video_id}\n\nAssistant Response: \n{response}")
# Return a response
return response # Add more detailed output if needed