mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-12 10:34:32 +08:00
use json.dumps
This commit is contained in:
parent
891327e813
commit
93694f75cf
@ -122,7 +122,7 @@ def set_sample_data_in_config_file(temp_dir, sample_inputs):
|
||||
render_template_with_tags(
|
||||
config_file,
|
||||
{
|
||||
"sample_inputs": sample_inputs
|
||||
"sample_inputs": json.dumps(sample_inputs)
|
||||
},
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user