Spaces:
Runtime error
Runtime error
MeetJivani
commited on
Commit
•
68f44cd
1
Parent(s):
d9bd6a9
Update app.py
Browse files
app.py
CHANGED
@@ -538,7 +538,7 @@ if __name__ == "__main__":
|
|
538 |
file_types=[".txt", ".md", ".pdf"],
|
539 |
type="file",
|
540 |
)
|
541 |
-
load_file_button = gr.Button("Upload & Process File")
|
542 |
with gr.Row():
|
543 |
input_text = gr.Textbox(
|
544 |
lines=4,
|
@@ -677,9 +677,9 @@ if __name__ == "__main__":
|
|
677 |
],
|
678 |
outputs=[output_text, summary_text, summary_scores, text_file],
|
679 |
)
|
680 |
-
aggregate_button.click(
|
681 |
-
|
682 |
-
|
683 |
-
|
684 |
-
)
|
685 |
demo.launch(enable_queue=True, share=args.share)
|
|
|
538 |
file_types=[".txt", ".md", ".pdf"],
|
539 |
type="file",
|
540 |
)
|
541 |
+
load_file_button = gr.Button("Upload & Process File",varint="primary")
|
542 |
with gr.Row():
|
543 |
input_text = gr.Textbox(
|
544 |
lines=4,
|
|
|
677 |
],
|
678 |
outputs=[output_text, summary_text, summary_scores, text_file],
|
679 |
)
|
680 |
+
# aggregate_button.click(
|
681 |
+
# fn=aggregate_text,
|
682 |
+
# inputs=[summary_text, text_file],
|
683 |
+
# outputs=[aggregated_summary],
|
684 |
+
# )
|
685 |
demo.launch(enable_queue=True, share=args.share)
|