Spaces:
Running
Running
Upload app.py
Browse files
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-Chat')
|
32 |
TOKENIZER_PATH = os.environ.get("TOKENIZER_PATH", MODEL_PATH)
|
33 |
|
34 |
print(MODEL_PATH,TOKENIZER_PATH)
|