Spaces:
Runtime error
Runtime error
Update reader.py
Browse files
reader.py
CHANGED
@@ -4,7 +4,7 @@ from yattag import Doc
|
|
4 |
## --------------------------------- ###
|
5 |
### creating html ###
|
6 |
### -------------------------------- ###
|
7 |
-
def get_article(acc,
|
8 |
title = 'Potential Buyer Fit Analysis'
|
9 |
description = 'How Well Does a Partner with the Selected Characteristics Fit?'
|
10 |
|
@@ -19,10 +19,7 @@ def get_article(acc, feats):
|
|
19 |
line('p', acc, klass='num')
|
20 |
with tag('div', klass='box model-div'):
|
21 |
line('h2', "Feature Weight", klass='acc-feat')
|
22 |
-
line('p',
|
23 |
-
line('p', "2. " + feats[1], klass='num')
|
24 |
-
line('p', "3. " + feats[2], klass='num')
|
25 |
-
line('p', "4. " + feats[3], klass='num')
|
26 |
|
27 |
css = '''
|
28 |
.component {
|
|
|
4 |
## --------------------------------- ###
|
5 |
### creating html ###
|
6 |
### -------------------------------- ###
|
7 |
+
def get_article(acc, feat):
|
8 |
title = 'Potential Buyer Fit Analysis'
|
9 |
description = 'How Well Does a Partner with the Selected Characteristics Fit?'
|
10 |
|
|
|
19 |
line('p', acc, klass='num')
|
20 |
with tag('div', klass='box model-div'):
|
21 |
line('h2', "Feature Weight", klass='acc-feat')
|
22 |
+
line('p', feat, klass='num')
|
|
|
|
|
|
|
23 |
|
24 |
css = '''
|
25 |
.component {
|