pull/12/head
Kye 1 year ago
parent 5bf89cfda4
commit a8bb8eddd1

@ -1,10 +1,6 @@
import os
from swarms.swarms import Swarms
# Retrieve your API key from the environment or replace with your actual key
# api_key = "sksdsds"
api_key = os.getenv("OPENAI_API_KEY")
# Initialize Swarms with your API key

@ -1,5 +0,0 @@
# example
from swarms.agents.models.llm import LLM
llm_instance = LLM(hf_repo_id="google/flan-t5-xl", hf_api_token="your_hf_api_token")
result = llm_instance.run("Who won the FIFA World Cup in 1998?")
print(result)
Loading…
Cancel
Save