frpron / app.py
Marxav's picture
Create app.py
97edd96
raw
history blame
229 Bytes
import streamlit as st
from transformers import pipeline
pipe = pipeline('Marxav/frpron')
x = st.slider('Enter a French word:')
if x:
out = pipe(text)
st.json(out)
#st.write('The IPA pronunciation of', x, 'is', out)