Patinya commited on
Commit
e5cc3fb
·
1 Parent(s): b3ac653

Update app.py

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
- classifier = pipeline('text-generation', model='KoboldAI/GPT-Neo-2.7B-Shinen')
5
  def main():
6
  st.title("Text generation")
7
 
 
1
  import streamlit as st
2
  from transformers import pipeline
3
 
4
+ classifier = pipeline("translation", model="t5-base")
5
  def main():
6
  st.title("Text generation")
7