Spaces:
Running
Running
Richard
commited on
Commit
·
12bdc7e
1
Parent(s):
390fabe
Fix bug with passing non-string to me.text
Browse files- Dockerfile +1 -1
- components/table.py +1 -1
Dockerfile
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
# Build Docker image for deployment.
|
2 |
|
3 |
-
FROM python:3.
|
4 |
|
5 |
RUN apt-get update && \
|
6 |
apt-get install -y \
|
|
|
1 |
# Build Docker image for deployment.
|
2 |
|
3 |
+
FROM python:3.10.14-bullseye
|
4 |
|
5 |
RUN apt-get update && \
|
6 |
apt-get install -y \
|
components/table.py
CHANGED
@@ -107,7 +107,7 @@ def prompt_eval_table(prompt, on_select_rating: Callable | None = None):
|
|
107 |
text_align="center",
|
108 |
)
|
109 |
):
|
110 |
-
me.text(content)
|
111 |
else:
|
112 |
with me.box(
|
113 |
style=me.Style(
|
|
|
107 |
text_align="center",
|
108 |
)
|
109 |
):
|
110 |
+
me.text(str(content))
|
111 |
else:
|
112 |
with me.box(
|
113 |
style=me.Style(
|