Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,6 +9,7 @@ from time import sleep
|
|
| 9 |
import tiktoken
|
| 10 |
# required for HF SPACES
|
| 11 |
from huggingface_hub import hf_hub_download
|
|
|
|
| 12 |
|
| 13 |
# for counting the tokens in the prompt and in the result
|
| 14 |
#context_count = len(encoding.encode(yourtext))
|
|
|
|
| 9 |
import tiktoken
|
| 10 |
# required for HF SPACES
|
| 11 |
from huggingface_hub import hf_hub_download
|
| 12 |
+
import os
|
| 13 |
|
| 14 |
# for counting the tokens in the prompt and in the result
|
| 15 |
#context_count = len(encoding.encode(yourtext))
|