Morris commited on
Commit
b71e2da
·
1 Parent(s): 9b8b3e0

update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,10 +1,12 @@
1
  import streamlit as st
2
  import pandas as pd
 
3
  from transformers import pipeline
4
  pipe = pipeline('text-classification', model='tiedaar/short-answer-classification')
 
5
 
6
  subsections = pd.read_csv('subsections.csv')
7
- st.markdown("![headerphoto]('./learlabaialoe.JPG')")
8
  st.title('Short Answer Scoring Demo')
9
  st.write('This is a demonstration of the iTELL short answer scoring model.')
10
  st.write('You will be provided with a random passage from a book on Macroeconomics and a question.')
 
1
  import streamlit as st
2
  import pandas as pd
3
+ from PIL import Image
4
  from transformers import pipeline
5
  pipe = pipeline('text-classification', model='tiedaar/short-answer-classification')
6
+ student_answer = False
7
 
8
  subsections = pd.read_csv('subsections.csv')
9
+ st.image(Image.open('learlabaialoe.JPG'))
10
  st.title('Short Answer Scoring Demo')
11
  st.write('This is a demonstration of the iTELL short answer scoring model.')
12
  st.write('You will be provided with a random passage from a book on Macroeconomics and a question.')