Spaces:
Sleeping
Sleeping
progress.. increment by 1
Browse files
app.py
CHANGED
@@ -90,7 +90,7 @@ def gradio_run(
|
|
90 |
FCL = len(chunks) # full chunk length
|
91 |
CCH = 0
|
92 |
for chunk in track(chunks, description="(processing chunks) Summarizing.."):
|
93 |
-
|
94 |
logger.info(f"{CCH}/{FCL} - {(CCH/FCL)*100:.2f}% - PROCESSING CHUNKS.")
|
95 |
summary = summarizer(chunk[0])[0]["generated_text"].replace("-", "\n-")
|
96 |
title = title_gen(chunk[0])[0]["generated_text"]
|
|
|
90 |
FCL = len(chunks) # full chunk length
|
91 |
CCH = 0
|
92 |
for chunk in track(chunks, description="(processing chunks) Summarizing.."):
|
93 |
+
CCH += 1
|
94 |
logger.info(f"{CCH}/{FCL} - {(CCH/FCL)*100:.2f}% - PROCESSING CHUNKS.")
|
95 |
summary = summarizer(chunk[0])[0]["generated_text"].replace("-", "\n-")
|
96 |
title = title_gen(chunk[0])[0]["generated_text"]
|