Spaces:
Runtime error
Runtime error
Commit
·
2c0130d
1
Parent(s):
69e538e
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def summarize(text):
|
|
21 |
|
22 |
lines = "(lines)"
|
23 |
f = open('input.csv',"r")
|
24 |
-
|
25 |
#print(lines)
|
26 |
|
27 |
return "Summary: " + str(generated_summary) + "\n\n" + str(lines)
|
|
|
21 |
|
22 |
lines = "(lines)"
|
23 |
f = open('input.csv',"r")
|
24 |
+
lines = f.readlines()
|
25 |
#print(lines)
|
26 |
|
27 |
return "Summary: " + str(generated_summary) + "\n\n" + str(lines)
|