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

Cannot ponify more than 20 files #19

Open
vadimfedulov035 opened this issue Jan 21, 2024 · 3 comments
Open

Cannot ponify more than 20 files #19

vadimfedulov035 opened this issue Jan 21, 2024 · 3 comments

Comments

@vadimfedulov035
Copy link

hay_say_ui-1 | output_value = func(*func_args, **func_kwargs) # %% callback invoked %%
hay_say_ui-1 | File "/home/luna/hay_say/hay_say_ui/main.py", line 396, in update_playback
hay_say_ui-1 | hash_raw = reverse_lookup[selected_file]
hay_say_ui-1 | KeyError: '1111.wav'
hay_say_ui-1 | announcements_file
hay_say_ui-1 | /home/luna/hay_say/hay_say_ui/running as server/announcements.json

After some amount of ponified audio samples there is no possibility to add new file, only to select from already used ones.
And there is no option to clear file cache inside the program to fix it or simply clear the list.

@hydrusbeta
Copy link
Owner

Oh wow, so you can't even add new files after about 20 or so? Can you tell me what operating system and browser you are using? I am unable to replicate that behavior on Linux/Chrome.

After 25 files, the cache management system is supposed to delete the oldest file whenever you upload a new file, to prevent the number of files getting too crazy. But it's not supposed to prevent you from uploading a new file at all.

A button to clear the file cache sounds like a good idea and should be fairly simple to implement. I'll put it in the next update and I'll try to remember to let you know.

@hydrusbeta
Copy link
Owner

@vadimfedulov035 I have added a button for clearing all uploaded audio files.
delete uploads button
Note: It works on my local installation, but for some reason, it's not working on https://haysay.ai/. You can always just refresh the page to clear your uploads on the live website, though.

@hydrusbeta
Copy link
Owner

I have found and fixed the root cause of the issue on haysay.ai. The "delete all uploaded files" button works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants