austen_em commited on
Commit
a7feaf3
·
1 Parent(s): e13fd30

try transformers.pipeline

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
  import transformers
3
 
4
- # arg_pipeline = pipeline("text-generation", model="austenem/Llama-2-7b-arg-quality")
5
 
6
  st.title("Arg Quality Ranker")
7
  st.write("Enter an argument and topic to analyze argument quality:")
 
1
  import streamlit as st
2
  import transformers
3
 
4
+ arg_pipeline = transformers.pipeline("text-generation", model="austenem/Llama-2-7b-arg-quality")
5
 
6
  st.title("Arg Quality Ranker")
7
  st.write("Enter an argument and topic to analyze argument quality:")