Marxav commited on
Commit
0d8c4af
1 Parent(s): 97edd96

specify task and model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: