Spaces:
Sleeping
Sleeping
Update index.php
Browse files
index.php
CHANGED
|
@@ -9,7 +9,7 @@
|
|
| 9 |
<?php
|
| 10 |
|
| 11 |
// Hugging Face APIトークンとAPIエンドポイント
|
| 12 |
-
$apiToken = 'YOUR_HUGGING_FACE_API_TOKEN';
|
| 13 |
$modelName = 'elyza/ELYZA-japanese-CodeLlama-7b-instruct'; // 使用するモデル名【変更可能】
|
| 14 |
|
| 15 |
// TheBloke/CodeLlama-7B-GGUF
|
|
|
|
| 9 |
<?php
|
| 10 |
|
| 11 |
// Hugging Face APIトークンとAPIエンドポイント
|
| 12 |
+
$apiToken = getenv('YOUR_HUGGING_FACE_API_TOKEN');
|
| 13 |
$modelName = 'elyza/ELYZA-japanese-CodeLlama-7b-instruct'; // 使用するモデル名【変更可能】
|
| 14 |
|
| 15 |
// TheBloke/CodeLlama-7B-GGUF
|