Spaces:
Sleeping
Sleeping
Upload 2 files
Browse files- app.py +1 -1
- requirements.txt +1 -1
app.py
CHANGED
@@ -28,7 +28,7 @@ import spaces
|
|
28 |
logger = LoggerFactory.create_logger(name="test", level=logging.INFO)
|
29 |
warnings.filterwarnings('ignore', category=UserWarning, message='TypedStorage is deprecated')
|
30 |
|
31 |
-
MODEL_PATH = os.environ.get('MODEL_PATH', 'IndexTeam/Index-1.9B-
|
32 |
TOKENIZER_PATH = os.environ.get("TOKENIZER_PATH", MODEL_PATH)
|
33 |
|
34 |
print(MODEL_PATH,TOKENIZER_PATH)
|
|
|
28 |
logger = LoggerFactory.create_logger(name="test", level=logging.INFO)
|
29 |
warnings.filterwarnings('ignore', category=UserWarning, message='TypedStorage is deprecated')
|
30 |
|
31 |
+
MODEL_PATH = os.environ.get('MODEL_PATH', 'IndexTeam/Index-1.9B-Character')
|
32 |
TOKENIZER_PATH = os.environ.get("TOKENIZER_PATH", MODEL_PATH)
|
33 |
|
34 |
print(MODEL_PATH,TOKENIZER_PATH)
|
requirements.txt
CHANGED
@@ -5,7 +5,7 @@ pandas==2.2.2
|
|
5 |
protobuf==4.23.4
|
6 |
sentence-transformers==2.2.2
|
7 |
torchmetrics==0.11.0
|
8 |
-
transformers==4.
|
9 |
gradio==4.33.0
|
10 |
spaces==0.24.2
|
11 |
huggingface_hub==0.22.2
|
|
|
5 |
protobuf==4.23.4
|
6 |
sentence-transformers==2.2.2
|
7 |
torchmetrics==0.11.0
|
8 |
+
transformers==4.39.2
|
9 |
gradio==4.33.0
|
10 |
spaces==0.24.2
|
11 |
huggingface_hub==0.22.2
|