-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat: streamlit page transcription #53
Conversation
@@ -2,9 +2,11 @@ | |||
|
|||
Pour contribuer au projet, merci de suivre les instructions suivantes. | |||
|
|||
> ⚠️ **Attention** : Vous devez disposer d'une API de modèle de language et d'embeddings pour lancer l'API en local. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Et de speech-recognition
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est pas obligatoire en soi, dans le sens ou ca l'API peut run, juste t'auras pas de modèle dispo pour le endpoint audio
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trop bien. J ai une ptite question en commentaire, et une remarque en readme, mais c est pas bloqueur pour merger:)
ui/pages/transcription.py
Outdated
with st.spinner("Transcribing audio..."): | ||
try: | ||
files = {"file": file} if file else {"file": record} | ||
response = requests.post( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tu prefered le faire avec un requests plutot que l openai client ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah oui en effet, je change ca :)
3a94d1e
to
d3e7afa
Compare
No description provided.