Skip to content

Commit 247cb58

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e0929cb commit 247cb58

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

CodeGen/tests/test_compose_on_gaudi.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ function validate_gradio() {
220220
echo "[ $SERVICE_NAME ] HTTP status is 200. UI server is running successfully..."
221221
else
222222
echo "[ $SERVICE_NAME ] UI server has failed..."
223-
fi
223+
fi
224224
}
225225

226226
function stop_docker() {
@@ -262,7 +262,7 @@ function main() {
262262
validate_microservices "${docker_llm_container_names[${i}]}"
263263
validate_megaservice
264264
validate_gradio
265-
265+
266266
stop_docker "${docker_compose_profiles[${i}]}"
267267
sleep 5s
268268
done

CodeGen/tests/test_compose_on_xeon.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ function validate_gradio() {
219219
echo "[ $SERVICE_NAME ] HTTP status is 200. UI server is running successfully..."
220220
else
221221
echo "[ $SERVICE_NAME ] UI server has failed..."
222-
fi
222+
fi
223223
}
224224

225225
function stop_docker() {

CodeGen/ui/gradio/codegen_ui_gradio.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,10 +335,12 @@ def get_file_names(files):
335335
delete_all_button = gr.Button("Delete All", variant="primary", size="sm")
336336
delete_all_button.click(delete_all_files, outputs=upload_status)
337337

338+
338339
@app.get("/health")
339340
def health_check():
340341
return {"status": "ok"}
341342

343+
342344
ui.queue()
343345
app = gr.mount_gradio_app(app, ui, path="/")
344346
share = False

0 commit comments

Comments
 (0)