baluai
1
Hi, have anyone developed a streamlit app using whisper ai
Im having trouble with the integration of whisper in streamlit share :(.
My code runs good in local host but when I try it streamlitshare it doesnt work.
It seems that whisper module is importing correctly but it trows me the error:
File â/mount/src/balu_app/Baluaiapp.pyâ, line 25, in
model = whisper.load_model("small")
AttributeError: module âwhisperâ has no attribute âload_modelâ
sames happens when I use Language=âesâ later.
Any lights on how to fix this? 
It looks like you might be installing two different whisper libraries through your requirements.txt, both openai whisper from github, and whisper
The second one likely installs this whisper ¡ PyPI which overwrites the openai one.
If you replace both lines with
openai-whisper
I think this will resolve it
baluai
3
Hi, thank you so much for your response!
I tried more than one instance of whisper in requirements out of desesperation 
Ive updated my requirements to only have openai-whisper and im still having the same issue:
File â/mount/src/balu_app/Baluaiapp.pyâ, line 25, in
model = whisper.load_model(âsmallâ)
I really dont know what might be causing trouble, I only have a few lines of codes but it seems that whisper is not recognizing the functions.
Are you sure itâs the exact same error as before? Could you paste the full text of the error from the logs?