Spaces:
Sleeping
Sleeping
Update app.py tmp file
Browse files
app.py
CHANGED
@@ -14,9 +14,10 @@ import numpy as np
|
|
14 |
import tempfile
|
15 |
from collections import Counter
|
16 |
import os
|
|
|
17 |
|
18 |
-
|
19 |
-
os.environ['GRADIO_TEMP_DIR'] =
|
20 |
|
21 |
# Load the models and their tokenizers
|
22 |
model_paths = {
|
|
|
14 |
import tempfile
|
15 |
from collections import Counter
|
16 |
import os
|
17 |
+
import tempfile
|
18 |
|
19 |
+
temp_dir = tempfile.gettempdir()
|
20 |
+
os.environ['GRADIO_TEMP_DIR'] = temp_dir
|
21 |
|
22 |
# Load the models and their tokenizers
|
23 |
model_paths = {
|