From a8bb8eddd18ca2ec2e852b1f65b511140f71c127 Mon Sep 17 00:00:00 2001 From: Kye Date: Thu, 20 Jul 2023 10:33:12 -0400 Subject: [PATCH] clean up --- example.py | 4 ---- llm.py | 5 ----- worker_ultra.py => playground/worker_ultra.py | 0 3 files changed, 9 deletions(-) delete mode 100644 llm.py rename worker_ultra.py => playground/worker_ultra.py (100%) diff --git a/example.py b/example.py index 79851ae5..1f5e92e4 100644 --- a/example.py +++ b/example.py @@ -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 diff --git a/llm.py b/llm.py deleted file mode 100644 index 26b64836..00000000 --- a/llm.py +++ /dev/null @@ -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) \ No newline at end of file diff --git a/worker_ultra.py b/playground/worker_ultra.py similarity index 100% rename from worker_ultra.py rename to playground/worker_ultra.py