Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ from safetensors.torch import load_file # Import safetensors loading function
|
|
10 |
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
|
11 |
|
12 |
# Define the directory containing the model files
|
13 |
-
model_dir = "./
|
14 |
|
15 |
# Define paths to the specific model files
|
16 |
model_path = os.path.join(model_dir, "model.safetensors")
|
|
|
10 |
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
|
11 |
|
12 |
# Define the directory containing the model files
|
13 |
+
model_dir = "./" # Adjusted to point to the best_model_ directory
|
14 |
|
15 |
# Define paths to the specific model files
|
16 |
model_path = os.path.join(model_dir, "model.safetensors")
|