bugfix
This commit is contained in:
parent
bc23679c1b
commit
0cb307407c
@ -63,10 +63,11 @@
|
|||||||
"widgettype": "VBox",
|
"widgettype": "VBox",
|
||||||
"options": {"css": "filler", "cheight": 4},
|
"options": {"css": "filler", "cheight": 4},
|
||||||
"subwidgets": [
|
"subwidgets": [
|
||||||
{% if isinstance(llm.pricing_display, str) %}
|
{% set pricing_text = llm.pricing_display %}
|
||||||
{% set llm.pricing_display = [llm.pricing_display] %}
|
{% if type(pricing_text) == type("") %}
|
||||||
|
{% set pricing_text = [pricing_text] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for pt in llm.pricing_display %}
|
{% for pt in pricing_text %}
|
||||||
{
|
{
|
||||||
"widgettype": "Text",
|
"widgettype": "Text",
|
||||||
"options": {
|
"options": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user