Spaces:
Runtime error
Runtime error
Commit
·
ef5dcbd
1
Parent(s):
8f8c492
Update main.py
Browse files
main.py
CHANGED
|
@@ -18,10 +18,9 @@ import requests
|
|
| 18 |
import uuid
|
| 19 |
import sys
|
| 20 |
|
| 21 |
-
|
| 22 |
-
HUGGINGFACEHUB_API_TOKEN="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"
|
| 23 |
repo_id = os.environ.get('repo_id')
|
| 24 |
-
port = os.getenv('port')
|
| 25 |
|
| 26 |
llm = HuggingFaceHub(repo_id=repo_id,
|
| 27 |
model_kwargs={"min_length":1024,
|
|
|
|
| 18 |
import uuid
|
| 19 |
import sys
|
| 20 |
|
| 21 |
+
HUGGINGFACEHUB_API_TOKEN = os.getenv('HUGGINGFACEHUB_API_TOKEN')
|
|
|
|
| 22 |
repo_id = os.environ.get('repo_id')
|
| 23 |
+
#port = os.getenv('port')
|
| 24 |
|
| 25 |
llm = HuggingFaceHub(repo_id=repo_id,
|
| 26 |
model_kwargs={"min_length":1024,
|