Spaces:
Runtime error
Runtime error
Commit
·
8c2fbce
1
Parent(s):
ca9fb17
Update app.py
Browse files
app.py
CHANGED
@@ -63,13 +63,12 @@ def lincoln(content):
|
|
63 |
print("Summary:")
|
64 |
print(summary)
|
65 |
|
66 |
-
|
67 |
|
68 |
-
|
69 |
+ "-------- The Larger Summary --------\n" + str(summary_text)
|
70 |
-
|
71 |
-
|
72 |
-
return output_text
|
73 |
|
74 |
|
75 |
iface = gr.Interface(
|
|
|
63 |
print("Summary:")
|
64 |
print(summary)
|
65 |
|
66 |
+
summary = bert_legal_model(content, ratio=0.1)
|
67 |
|
68 |
+
all_text = str(summary) + "\n\n\n" \
|
69 |
+ "-------- The Larger Summary --------\n" + str(summary_text)
|
70 |
+
|
71 |
+
return all_text
|
|
|
72 |
|
73 |
|
74 |
iface = gr.Interface(
|