Spaces:
Runtime error
Runtime error
Commit
·
2da8434
1
Parent(s):
0ad143b
Update app.py
Browse files
app.py
CHANGED
@@ -30,8 +30,6 @@ print('Using model {}\n'.format(model_name))
|
|
30 |
|
31 |
|
32 |
def lincoln(content = input_text):
|
33 |
-
|
34 |
-
|
35 |
summary_text = ""
|
36 |
for i, paragraph in enumerate(content.split("\n\n")):
|
37 |
# get rid of empty paragraphs and one word paras and extra whitespaces
|
@@ -69,8 +67,8 @@ def lincoln(content = input_text):
|
|
69 |
|
70 |
all_text = str(summary) + "\n\n\n" \
|
71 |
+ "-------- The Larger Summary --------\n" + str(summary_text)
|
72 |
-
|
73 |
-
return
|
74 |
|
75 |
|
76 |
iface = gr.Interface(
|
|
|
30 |
|
31 |
|
32 |
def lincoln(content = input_text):
|
|
|
|
|
33 |
summary_text = ""
|
34 |
for i, paragraph in enumerate(content.split("\n\n")):
|
35 |
# get rid of empty paragraphs and one word paras and extra whitespaces
|
|
|
67 |
|
68 |
all_text = str(summary) + "\n\n\n" \
|
69 |
+ "-------- The Larger Summary --------\n" + str(summary_text)
|
70 |
+
output_text = all_text
|
71 |
+
return
|
72 |
|
73 |
|
74 |
iface = gr.Interface(
|