Update app.py
Browse files
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 |
#
|