specify task and model
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
pipe = pipeline('Marxav/frpron')
|
5 |
x = st.slider('Enter a French word:')
|
6 |
|
7 |
if x:
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
pipe = pipeline(task='text-generation', model='Marxav/frpron')
|
5 |
x = st.slider('Enter a French word:')
|
6 |
|
7 |
if x:
|