Spaces:
Sleeping
Sleeping
Deepak Sahu
commited on
Commit
·
89ba56c
1
Parent(s):
92c0891
test if import is causing delay
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
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"
|
@@ -20,7 +21,7 @@ if gr.NO_RELOAD:
|
|
20 |
|
21 |
# if gr.NO_RELOAD:
|
22 |
# from z_similarity import computes_similarity_w_hypothetical
|
23 |
-
#
|
24 |
|
25 |
|
26 |
def get_recommendation(book_title: str) -> str:
|
|
|
1 |
from z_utils import get_dataframe
|
2 |
import gradio as gr
|
3 |
+
from z_hypothetical_summary import generate_summaries
|
4 |
|
5 |
# CONST
|
6 |
CLEAN_DF_UNIQUE_TITLES = "unique_titles_books_summary.csv"
|
|
|
21 |
|
22 |
# if gr.NO_RELOAD:
|
23 |
# from z_similarity import computes_similarity_w_hypothetical
|
24 |
+
#
|
25 |
|
26 |
|
27 |
def get_recommendation(book_title: str) -> str:
|