Paste the copied value into the Colab notebook in a code cell (e.g., `pcr_from_html = 1.05`) and then pass it to the `run_daily_analysis_with_pcr()` function.
"""
try:
with open(html_file_path, 'w') as f:
f.write(html_content)
print(f"Dynamic HTML input page saved to '{html_file_path}'")
print(f"You can download it from the file browser (folder icon on the left) and open it in your web browser.")
except Exception as e:
print(f"Error saving HTML input page: {e}")
generate_pcr_input_html()