JonathanFly/bark

doesnt work

kubinka0505 opened this issue · 1 comments

2023-06-16 23:16:59.935937: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT Can't find styles at webui/styles.csv Can't find user styles at webui/user_styles.csv Can't find transformations at webui/transformations.csv Can't find transformations at webui/user_transformations.csv ╭───────────────────── Traceback (most recent call last) ──────────────────────╮ │ /content/bark/bark_webui.py:761 in <module> │ │ │ │ 758 │ │ │ │ with gr.Row(elem_id=f"styles_row"): │ │ 759 │ │ │ │ │ │ │ 760 │ │ │ │ │ │ │ ❱ 761 │ │ │ │ │ with gr.Column(variant="panel", scale=0.5): │ │ 762 │ │ │ │ │ │ prompt_styles_dropdown = gr.Dropdown(label=f" │ │ 763 │ │ │ │ │ │ #create_refresh_button(prompt_styles_dropdown │ │ 764 │ │ │ │ │ │ prompt_style_apply = ToolButton(value=apply_s │ │ │ │ /usr/local/lib/python3.10/dist-packages/gradio/blocks.py:366 in exit │ │ │ │ 363 │ │ │ 364 │ def exit(self, *args): │ │ 365 │ │ if getattr(self, "allow_expected_parents", True): │ │ ❱ 366 │ │ │ self.fill_expected_parents() │ │ 367 │ │ Context.block = self.parent │ │ 368 │ │ │ 369def postprocess(self, y): │ │ │ │ /usr/local/lib/python3.10/dist-packages/gradio/blocks.py:345 in │ │ fill_expected_parents │ │ │ │ 342 │ │ children = [] │ │ 343 │ │ pseudo_parent = None │ │ 344 │ │ for child in self.children: │ │ ❱ 345 │ │ │ expected_parent = child.get_expected_parent() │ │ 346 │ │ │ if not expected_parent or isinstance(self, expected_paren │ │ 347 │ │ │ │ pseudo_parent = None │ │ 348 │ │ │ │ children.append(child) │ │ │ │ /content/bark/webui/ui_components.py:6 in get_expected_parent │ │ │ │ 3 │ │ 4 class FormComponent: │ │ 5def get_expected_parent(self): │ │ ❱ 6 │ │ return gr.components.Form │ │ 7 │ │ 8 # this was breaking regular dropdowns │ │ 9 #gr.Dropdown.get_expected_parent = FormComponent.get_expected_parent │ ╰──────────────────────────────────────────────────────────────────────────────╯

please remove the file

Can you try it now? You may have to a fresh install. Get the new zip https://github.com/JonathanFly/bark/releases/tag/one-click-bark-installer