Spaces:
Running
Running
Update crypto_analysis_agents.py
Browse files
crypto_analysis_agents.py
CHANGED
|
@@ -10,7 +10,7 @@ class CryptoAnalysisAgents:
|
|
| 10 |
def __init__(self):
|
| 11 |
self.llm = HuggingFaceHub(repo_id="bigscience/bloom", model_kwargs={"temperature": 0.7, "max_length": 1024})
|
| 12 |
self.embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
|
| 13 |
-
huggingfacehub_api_token=os.getenv("HUGGINGFACEHUB_API_TOKEN"
|
| 14 |
|
| 15 |
def market_analyst(self):
|
| 16 |
return Agent(
|
|
|
|
| 10 |
def __init__(self):
|
| 11 |
self.llm = HuggingFaceHub(repo_id="bigscience/bloom", model_kwargs={"temperature": 0.7, "max_length": 1024})
|
| 12 |
self.embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
|
| 13 |
+
huggingfacehub_api_token=os.getenv("HUGGINGFACEHUB_API_TOKEN")
|
| 14 |
|
| 15 |
def market_analyst(self):
|
| 16 |
return Agent(
|