Spaces:
Build error
Build error
fixed space issue
Browse files
app.py
CHANGED
|
@@ -38,7 +38,6 @@ def ner(text):
|
|
| 38 |
|
| 39 |
##Fiscal Sentiment by Sentence
|
| 40 |
def fin_ext(text):
|
| 41 |
-
|
| 42 |
doc = nlp(text)
|
| 43 |
doc_sents = [sent for sent in doc.sents]
|
| 44 |
sents_list = []
|
|
@@ -51,7 +50,6 @@ def fin_ext(text):
|
|
| 51 |
fin_spans = list(zip(sents_list,results_list))
|
| 52 |
return fin_spans
|
| 53 |
|
| 54 |
-
|
| 55 |
demo = gr.Blocks()
|
| 56 |
|
| 57 |
with demo:
|
|
|
|
| 38 |
|
| 39 |
##Fiscal Sentiment by Sentence
|
| 40 |
def fin_ext(text):
|
|
|
|
| 41 |
doc = nlp(text)
|
| 42 |
doc_sents = [sent for sent in doc.sents]
|
| 43 |
sents_list = []
|
|
|
|
| 50 |
fin_spans = list(zip(sents_list,results_list))
|
| 51 |
return fin_spans
|
| 52 |
|
|
|
|
| 53 |
demo = gr.Blocks()
|
| 54 |
|
| 55 |
with demo:
|