Commit
·
a0e1665
1
Parent(s):
9cbe3ad
Update app.py
Browse files
app.py
CHANGED
@@ -149,8 +149,9 @@ def markdown_to_docx(md_text, output_file):
|
|
149 |
@backoff.on_exception(backoff.expo, openai.error.APIConnectionError)
|
150 |
def summarize_meeting(filepath):
|
151 |
filename = filepath
|
|
|
152 |
token_count = count_tokens(filename)
|
153 |
-
|
154 |
prompt_response = []
|
155 |
# Break the text of the meeting transcripts into chunks of 4000 tokens.
|
156 |
chunks = break_up_file_to_chunks(filename)
|
|
|
149 |
@backoff.on_exception(backoff.expo, openai.error.APIConnectionError)
|
150 |
def summarize_meeting(filepath):
|
151 |
filename = filepath
|
152 |
+
print(filepath)
|
153 |
token_count = count_tokens(filename)
|
154 |
+
print(token_count)
|
155 |
prompt_response = []
|
156 |
# Break the text of the meeting transcripts into chunks of 4000 tokens.
|
157 |
chunks = break_up_file_to_chunks(filename)
|