How to change widget text instead of "choose a file" on webflow?

I need to change the upload button/widget text from ‘choose a file’ to ‘pick a photo’. How would I go about doing this in custom code with Webflow?

Just found it with this:

  UPLOADCARE_PUBLIC_KEY = "demopublickey";
		buttons: {
			choose: {
				files: {
					one: 'Cmon, upload smthng',
					other: 'Cmon, upload smthng'
				images: {
					one: 'Cmon, upload image',
					other: 'Cmon, upload images'
<script charset="utf-8" src="//"></script>
<input type="hidden" role="uploadcare-uploader" name="content" />
1 Like

Correct. The answer to this question has already been posted here How to change the default button text on the widget?