zman1x1 commited on
Commit
012edff
1 Parent(s): 6b9994d

progress.. increment by 1

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- ++CCH
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"]