Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from transformers import AutoModel, AutoConfig
|
|
6 |
hf_token = os.environ.get("HF_TOKEN")
|
7 |
|
8 |
model_repo = "HusseinEid/lora_model"
|
9 |
-
config_file = "
|
10 |
|
11 |
# Load the configuration directly from the repository
|
12 |
config = AutoConfig.from_pretrained(model_repo, config_file_name=config_file, token=hf_token)
|
|
|
6 |
hf_token = os.environ.get("HF_TOKEN")
|
7 |
|
8 |
model_repo = "HusseinEid/lora_model"
|
9 |
+
config_file = "config.json"
|
10 |
|
11 |
# Load the configuration directly from the repository
|
12 |
config = AutoConfig.from_pretrained(model_repo, config_file_name=config_file, token=hf_token)
|