Spaces:
Runtime error
Runtime error
xiomarablanco
commited on
Commit
•
5c164b6
1
Parent(s):
e03821b
CambioTituloExcel
Browse files
app.py
CHANGED
@@ -77,7 +77,8 @@ def exportResultToExcelFile(modelResult):
|
|
77 |
excelData.append(studentData)
|
78 |
index+= 1
|
79 |
|
80 |
-
tableResults = tablib.Dataset(headers=('ID', 'SimilitudSpacy', 'SimilitudBert', 'NotaSemanticaSpacy', 'NotaSemanticaBert', 'NotaSintaxis', 'NotaOrtografia','NotaTotalSpacy','NotaTotalBert','Feedback'))
|
|
|
81 |
|
82 |
tableResults.json=json.dumps(excelData)
|
83 |
tableExport=tableResults.export('xlsx')
|
|
|
77 |
excelData.append(studentData)
|
78 |
index+= 1
|
79 |
|
80 |
+
#tableResults = tablib.Dataset(headers=('ID', 'SimilitudSpacy', 'SimilitudBert', 'NotaSemanticaSpacy', 'NotaSemanticaBert', 'NotaSintaxis', 'NotaOrtografia','NotaTotalSpacy','NotaTotalBert','Feedback'))
|
81 |
+
tableResults = tablib.Dataset(headers=('ID', 'SumaTotalSpacy', 'SumaTotaldBert', 'NotaSemanticaSpacy', 'NotaSemanticaBert', 'NotaSintaxis', 'NotaOrtografia','NotaTotalSpacy','NotaTotalBert','Feedback'))
|
82 |
|
83 |
tableResults.json=json.dumps(excelData)
|
84 |
tableExport=tableResults.export('xlsx')
|