Spaces:
Sleeping
Sleeping
austen_em
commited on
Commit
·
a7feaf3
1
Parent(s):
e13fd30
try transformers.pipeline
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
import transformers
|
3 |
|
4 |
-
|
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:")
|