JHubi1 / ollama-app

A modern and easy-to-use client for Ollama
Apache License 2.0
597 stars 45 forks source link

Voice Mode language reset / missing #49

Open Binsk opened 1 month ago

Binsk commented 1 month ago

Edit: Aw hell, sorry, I didn't notice the "Text-to-speech not supported" at the top in the initial page (it only shows up that first time and remains after selecting "English"). I suppose that would be the issue; not sure why it is one, though, I use my TTS w/ other apps, such as OsmAnd, just fine. The TTS I use is Sherpa ONNX, if it matters.

Requirements

Platform

Android

Description

Attempting to use voice mode but it resets the language and then removes language options.

Steps to reproduce

  1. Go into Voice (beta) after fresh install
  2. Enable permissions
  3. Enable voice mode
  4. Select Language
  5. Leave Voice (beta)
  6. Return to Voice (beta)
  7. Note the option is back to "No language selected"
  8. Try selecting a language and note that all options are now gone

Expected behavior

My language selection to remain and a list of valid languages upon second+ selection.

Actual behavior

Language gets auto-reset and all available languages with further selection are removed from the language selection pop-up card.

Screenshots or additional context

My available languages only show up the first time I am in the Voice (beta) page. It seems to work fine initially:

screenshot_l1

Once I leave the page the option seems to auto-reset to "No language selected". Attempting to use Voice Mode doesn't work either as I just get the 'mic bubble' but nothing happens.

Once I return to the page, selecting a language is no longer possible:

screenshot_l2

I changed themes to make the top of the card visible but by default it is completely invisible. It seems like it is showing up correctly but no entries are in there anymore.

This bug persists until I delete the storage of the app, after which I can consistently repeat this cycle.

JHubi1 commented 1 month ago

Does setting the tts service to Google's solve the issue?

Binsk commented 1 month ago

It did not. It did remove the "text to speech not supported" message at the top. However, it still reset to nothing and then the option disappeared with further attempts to change the language, just like with the other TTS.

This is on Graphene OS & a Pixel 4a 5g.