Update app.py
Browse files
app.py
CHANGED
@@ -70,12 +70,14 @@ def main():
|
|
70 |
sftparams = conf['model']['sft']
|
71 |
# accordion container content
|
72 |
#gr.Markdown("### PEFT Parameters (json)")
|
73 |
-
dict_string = json.dumps(conf['model']['peft'], indent=4)
|
74 |
peft = gr.Textbox(label="PEFT Parameters", value=dict_string)
|
75 |
|
76 |
|
77 |
-
gr.Markdown("###
|
78 |
gr.Markdown("List of items")
|
|
|
|
|
79 |
|
80 |
##### Execution #####
|
81 |
|
|
|
70 |
sftparams = conf['model']['sft']
|
71 |
# accordion container content
|
72 |
#gr.Markdown("### PEFT Parameters (json)")
|
73 |
+
dict_string = json.dumps(dict(conf['model']['peft']), indent=4)
|
74 |
peft = gr.Textbox(label="PEFT Parameters", value=dict_string)
|
75 |
|
76 |
|
77 |
+
gr.Markdown("### PEFT Parameters")
|
78 |
gr.Markdown("List of items")
|
79 |
+
dict_string = json.dumps(dict(conf['model']['sft']), indent=4)
|
80 |
+
peft = gr.Textbox(label="PEFT Parameters", value=dict_string)
|
81 |
|
82 |
##### Execution #####
|
83 |
|