LT4Ryan commited on
Commit
698e420
·
verified ·
1 Parent(s): d3e0e52

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -240,10 +240,10 @@ def get_full_transcript(vis_data):
240
  # Replace the old summarize_transcript function with this one
241
  @spaces.GPU
242
  #def summarize_transcript(transcript: str) -> str:
243
- """
244
- Summarizes the transcript using the sshleifer/distilbart-cnn-12-6 model.
245
- """
246
- # Check for empty or whitespace-only input
247
  # if not transcript or not transcript.strip():
248
  # return "No transcript available to summarize."
249
  #
 
240
  # Replace the old summarize_transcript function with this one
241
  @spaces.GPU
242
  #def summarize_transcript(transcript: str) -> str:
243
+ # """
244
+ # Summarizes the transcript using the sshleifer/distilbart-cnn-12-6 model.
245
+ # """
246
+ # # Check for empty or whitespace-only input
247
  # if not transcript or not transcript.strip():
248
  # return "No transcript available to summarize."
249
  #