Coder Social home page Coder Social logo

Comments (15)

gitmylo avatar gitmylo commented on May 23, 2024

i wish i could, but accordions don't work very well, maybe i can somehow do it with css.

from audio-webui.

pravdomil avatar pravdomil commented on May 23, 2024

why they dont work?

from audio-webui.

pravdomil avatar pravdomil commented on May 23, 2024

you can use <details><summary> then

from audio-webui.

gitmylo avatar gitmylo commented on May 23, 2024

you can't set visible on an accordion, sadly. but maybe i can set el-classes or whatever it's called

from audio-webui.

gitmylo avatar gitmylo commented on May 23, 2024

you cannot set elem-classes on textboxes though, so that won't work either

from audio-webui.

pravdomil avatar pravdomil commented on May 23, 2024

this looks clean
image

under text area put

Split your long form generations with newlines (enter), every line will be generated individually, but as a continuation of the last. Empty lines at the start and end will be skipped.

and under file upload put

Clear spoken, no noise, no music. Ends after a short pause for best results.
When cloning a voice:
- The speaker will be saved in the data/bark_custom_speakers directory.
- The β€œfile” output contains a different speaker. This is for saving speakers created through random generation. Or continued cloning.

from audio-webui.

gitmylo avatar gitmylo commented on May 23, 2024

i got the accordion working, maybe it was fixed in a gradio update?

from audio-webui.

pravdomil avatar pravdomil commented on May 23, 2024

well maybe is better to put the instructions where they belong next to inputs

from audio-webui.

pravdomil avatar pravdomil commented on May 23, 2024

and what is this?

2396a45

image

from audio-webui.

gitmylo avatar gitmylo commented on May 23, 2024

and what is this?

2396a45
image

the accordion element has to be sent through to the ui manager so it can be correctly hidden and shown when it becomes relevant or irrelevant.

image

these are all workarounds, because gradio does not support replacing of elements, so you have to hide them somehow, and i'm definitely not going to write down each individual element, so i made that code to manage it.

image

the reason it is not included on the other side, in the inputs, is because the versions after 5aa6e69 skip any elements which aren't inputs.

[Bonus] Here's some screenshots from when i had just implemented the hiding system:

image
image

from audio-webui.

pravdomil avatar pravdomil commented on May 23, 2024

ok, now it looks good

from audio-webui.

pravdomil avatar pravdomil commented on May 23, 2024

this can be a better design

image

from audio-webui.

gitmylo avatar gitmylo commented on May 23, 2024

sounds more relevant to #39

from audio-webui.

gitmylo avatar gitmylo commented on May 23, 2024

also, planning to add a smart split option, but i'll add the hint for now

from audio-webui.

pravdomil avatar pravdomil commented on May 23, 2024

I made a new issue to be clear #40

from audio-webui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.