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

feat: streamlit page transcription #53

Merged
merged 1 commit into from
Nov 7, 2024
Merged

Conversation

leoguillaume
Copy link
Contributor

No description provided.

@leoguillaume leoguillaume self-assigned this Nov 6, 2024
@leoguillaume leoguillaume requested a review from Ledoux November 6, 2024 21:05
@@ -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.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Et de speech-recognition

Copy link
Contributor Author

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

Copy link
Collaborator

@Ledoux Ledoux left a 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:)

with st.spinner("Transcribing audio..."):
try:
files = {"file": file} if file else {"file": record}
response = requests.post(
Copy link
Collaborator

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 ?

Copy link
Contributor Author

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 :)

@leoguillaume leoguillaume force-pushed the streamlit-transcription branch from 3a94d1e to d3e7afa Compare November 7, 2024 18:16
@leoguillaume leoguillaume changed the title wip feat: streamlit page transcription Nov 7, 2024
@leoguillaume leoguillaume marked this pull request as ready for review November 7, 2024 18:17
@leoguillaume leoguillaume merged commit faf56aa into main Nov 7, 2024
@leoguillaume leoguillaume deleted the streamlit-transcription branch November 7, 2024 18:18
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

Successfully merging this pull request may close these issues.

3 participants