mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-10 12:01:36 +00:00
add title
This commit is contained in:
1 parent
2d87d3d882
commit
ef3198d390
1 file changed
+6
@@ -38,8 +38,14 @@ function TtsInferenceResultListFc(props: Props) {
|
||||
}
|
||||
});
|
||||
|
||||
let title = <span />;
|
||||
if (results.length !== 0) {
|
||||
title = <h4 className="title is-4">Session TTS Results</h4>;
|
||||
}
|
||||
|
||||
return (
|
||||
<div>
|
||||
{title}
|
||||
{results}
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user