Skip to content

Commit

Permalink
fix 3.12-only syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Michele Dolfi <[email protected]>
  • Loading branch information
dolfim-ibm committed Jan 27, 2025
1 parent c3836ed commit fda5862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docling_serve/gradio_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@


def health_check():
response = requests.get(f"http://localhost:{int(os.getenv("PORT", "8080"))}/health")
response = requests.get(f"http://localhost:{int(os.getenv('PORT', '8080'))}/health")
if response.status_code == 200:
return "Healthy"
return "Unhealthy"
Expand Down

0 comments on commit fda5862

Please sign in to comment.