Spaces:
Running
Running
Deepak Sahu
commited on
Commit
·
92c0891
1
Parent(s):
37f6f60
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
from z_utils import get_dataframe
|
|
|
2 |
|
3 |
# CONST
|
4 |
CLEAN_DF_UNIQUE_TITLES = "unique_titles_books_summary.csv"
|
@@ -17,8 +18,6 @@ if gr.NO_RELOAD:
|
|
17 |
|
18 |
generator_model = pipeline('text-generation', model=TRAINED_CASUAL_MODEL)
|
19 |
|
20 |
-
import gradio as gr
|
21 |
-
|
22 |
# if gr.NO_RELOAD:
|
23 |
# from z_similarity import computes_similarity_w_hypothetical
|
24 |
# from z_hypothetical_summary import generate_summaries
|
|
|
1 |
from z_utils import get_dataframe
|
2 |
+
import gradio as gr
|
3 |
|
4 |
# CONST
|
5 |
CLEAN_DF_UNIQUE_TITLES = "unique_titles_books_summary.csv"
|
|
|
18 |
|
19 |
generator_model = pipeline('text-generation', model=TRAINED_CASUAL_MODEL)
|
20 |
|
|
|
|
|
21 |
# if gr.NO_RELOAD:
|
22 |
# from z_similarity import computes_similarity_w_hypothetical
|
23 |
# from z_hypothetical_summary import generate_summaries
|