Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
|
10 |
st.title("An App to Score Firm-Generated Text on Eight Risk Factors")
|
11 |
st.write("Note: You can either upload a CSV file or a single TXT file for scoring.")
|
12 |
st.write("Note: If uploading a CSV file, ensure that it contains the following columns: cik, fyear, Item 1A. Item 1A should contain the respective risk factors section for each firm-year observation.")
|
13 |
-
st.write("Note: If uploading a txt file, ensure it
|
14 |
|
15 |
# Hugging Face model directories
|
16 |
model_directories = {
|
|
|
10 |
st.title("An App to Score Firm-Generated Text on Eight Risk Factors")
|
11 |
st.write("Note: You can either upload a CSV file or a single TXT file for scoring.")
|
12 |
st.write("Note: If uploading a CSV file, ensure that it contains the following columns: cik, fyear, Item 1A. Item 1A should contain the respective risk factors section for each firm-year observation.")
|
13 |
+
st.write("Note: If uploading a txt file, ensure it contains the respective risk factors section for each firm-year observation.")
|
14 |
|
15 |
# Hugging Face model directories
|
16 |
model_directories = {
|