Spaces:
Runtime error
Runtime error
Witold Wydmański
commited on
Commit
·
cab993a
1
Parent(s):
caa6c4a
fix: specify tokenizer
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import openai
|
|
3 |
import tiktoken
|
4 |
from multiprocessing.pool import ThreadPool
|
5 |
|
6 |
-
enc = tiktoken.
|
7 |
|
8 |
MODES = {
|
9 |
"Short summary": "Succintly summarize the following meeting transcript in a single paragraph.",
|
|
|
3 |
import tiktoken
|
4 |
from multiprocessing.pool import ThreadPool
|
5 |
|
6 |
+
enc = tiktoken.get_encoding("cl100k_base")
|
7 |
|
8 |
MODES = {
|
9 |
"Short summary": "Succintly summarize the following meeting transcript in a single paragraph.",
|