Spaces:
Build error
Build error
AhmedTaha012
commited on
Commit
•
304fcfc
1
Parent(s):
c2d54eb
Update app.py
Browse files
app.py
CHANGED
@@ -303,11 +303,11 @@ if st.button("Analyze"):
|
|
303 |
# st.text_input(f'Revenue-Sentence:{idx+1}', getSentence(sentences,revenues[idx]))
|
304 |
for idx in range(len(profits)):
|
305 |
st.text_input(f'Profit:{idx+1}', profits[idx])
|
306 |
-
annotated_text(get_annotated_text(getSentence(sentences,
|
307 |
# st.text_input(f'Profit-Sentence:{idx+1}', getSentence(sentences,profits[idx]))
|
308 |
for idx in range(len(expences)):
|
309 |
st.text_input(f'Expences:{idx+1}', expences[idx])
|
310 |
-
annotated_text(get_annotated_text(getSentence(sentences,
|
311 |
# st.text_input(f'Expences-Sentences:{idx+1}', getSentence(sentences,expences[idx]))
|
312 |
|
313 |
st.subheader("Investment Recommendation", divider='rainbow')
|
|
|
303 |
# st.text_input(f'Revenue-Sentence:{idx+1}', getSentence(sentences,revenues[idx]))
|
304 |
for idx in range(len(profits)):
|
305 |
st.text_input(f'Profit:{idx+1}', profits[idx])
|
306 |
+
annotated_text(get_annotated_text(getSentence(sentences,profits[idx]),str(profits[idx]),"Profit"))
|
307 |
# st.text_input(f'Profit-Sentence:{idx+1}', getSentence(sentences,profits[idx]))
|
308 |
for idx in range(len(expences)):
|
309 |
st.text_input(f'Expences:{idx+1}', expences[idx])
|
310 |
+
annotated_text(get_annotated_text(getSentence(sentences,expences[idx]),str(expences[idx]),"Expences"))
|
311 |
# st.text_input(f'Expences-Sentences:{idx+1}', getSentence(sentences,expences[idx]))
|
312 |
|
313 |
st.subheader("Investment Recommendation", divider='rainbow')
|