Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scale parameter not working on upload audio widget #5406

Closed
1 task done
cowanAI opened this issue Sep 4, 2023 · 2 comments
Closed
1 task done

Scale parameter not working on upload audio widget #5406

cowanAI opened this issue Sep 4, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@cowanAI
Copy link

cowanAI commented Sep 4, 2023

Describe the bug

The upload audio widget looks too big compared to my microphone widget, so tried using scaling to reduce the height of the of the upload widget but it didnt work

image

Used the code as suggested on the documentation:

gr.Audio(source="upload", label="Instant Transcriber: Upload MP3 Audio (optional)", type="filepath",scale=0.3) ,

Have you searched existing issues? 🔎

  • I have searched and found no existing issues

Reproduction

gr.Audio(source="upload", label="Instant Transcriber: Upload MP3 Audio (optional)", type="filepath",scale=0.3) ,

Screenshot

image

Logs

No response

System Info

latest gradio version

Severity

I can work around it

@cowanAI cowanAI added the bug Something isn't working label Sep 4, 2023
@abidlabs
Copy link
Member

abidlabs commented Sep 4, 2023

Hi @cowanAI -- the scale parameter is designed to adjust the relative width of components, not the height. There isn't a way to adjust the height at the moment, but in fact, we are planning on redesigning the Audio component altogether and merge the audio upload with the mic recording, so I'll go ahead and close this issue as "not planned".

See: #5321

@abidlabs abidlabs closed this as not planned Won't fix, can't repro, duplicate, stale Sep 4, 2023
@cowanAI
Copy link
Author

cowanAI commented Sep 4, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants