Skip to content

Commit b0872c1

Browse files
author
sd109
committed
Python formatting
1 parent 9daf368 commit b0872c1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

web-app-utils/example_app_playful.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from api_startup_check import wait_for_backend
44

55
# NOTE: This url should match the chart's api service name & namespace
6-
#TODO: Detect namespace automatically?
6+
# TODO: Detect namespace automatically?
77
backend_url = "http://llm-backend.default.svc"
88
wait_for_backend(backend_url)
99

@@ -55,4 +55,4 @@ def inference(message, history):
5555
retry_btn="Retry",
5656
undo_btn="Undo",
5757
clear_btn="Clear",
58-
).queue().launch(server_name="0.0.0.0")
58+
).queue().launch(server_name="0.0.0.0")

web-app-utils/example_app_vanilla.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from api_startup_check import wait_for_backend
44

55
# NOTE: This url should match the chart's api service name & namespace
6-
#TODO: Detect namespace automatically?
6+
# TODO: Detect namespace automatically?
77
backend_url = "http://llm-backend.default.svc"
88
wait_for_backend(backend_url)
99

@@ -34,7 +34,7 @@ def inference(message, history):
3434
"temperature": 0.7,
3535
"top_p": 0.4,
3636
"top_k": 40,
37-
}
37+
},
3838
}
3939
response = requests.post(
4040
f"{backend_url}/generate", headers=headers, json=pload, stream=True

0 commit comments

Comments
 (0)