Skip to content

Commit 4088a57

Browse files
author
sd109
committed
Minor bug fixes
1 parent fd21fb3 commit 4088a57

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Tiltfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ chart_yaml = helm(
1414
values="dev-values.yml",
1515
# Enable/disable remote UI install depending on if we're running it locally
1616
set=[
17-
"ui.enabled={}".format(not str(run_ui_locally).lower())
17+
"ui.enabled={}".format(str(not run_ui_locally).lower())
1818
],
1919
)
2020
k8s_yaml(chart_yaml)

chart/templates/ui/deployment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ spec:
3434
- python
3535
args:
3636
- {{ .Values.ui.entrypoint }}
37+
- {{ .Values.huggingface.model }}
3738
env:
3839
- name: PYTHONUNBUFFERED
3940
value: "1"

chart/web-app/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def inference(latest_message, history):
112112
)
113113

114114
# Catch-all for unexpected exceptions
115-
except err:
115+
except Exception as err:
116116
logger.error("Unexpected error during inference: %s", err)
117117
raise gr.Error("Unexpected error encountered - see logs for details.")
118118

0 commit comments

Comments
 (0)