KAIZU FIXES: AccountSwarm + AI Research team

pull/153/merge
Kye 1 year ago
parent b977229e04
commit c23da4d79d

@ -40,7 +40,7 @@ We have a small gallery of examples to run here, [for more check out the docs to
### Example in Colab:
<a target="_blank" href="https://colab.research.google.com/github/kyegomez/swarms/blob/master/swarms_example.ipynb">
<a target="_blank" href="https://colab.research.google.com/github/kyegomez/swarms/blob/master/playground/swarms_example.ipynb">
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
</a> Run example in Colab, using your OpenAI API key.

@ -16,7 +16,7 @@ load_dotenv()
anthropic_api_key = os.getenv("ANTHROPIC_API_KEY")
openai_api_key = os.getenv("OPENAI_API_KEY")
PDF_PATH = "shallowfeedforward.pdf"
PDF_PATH = "videocon.pdf"
# Base llms

@ -1,3 +1,4 @@
import logging
import os
import warnings
@ -5,6 +6,15 @@ warnings.filterwarnings("ignore", category=UserWarning)
# disable tensorflow warnings
os.environ["TF_CPP_MIN_LOG_LEVEL"] = "2"
try:
log = logging.getLogger("pytorch")
log.propagate = False
log.setLevel(logging.ERROR)
except Exception as error:
print(f"Pytorch logging not disabled: {error}")
from swarms.agents import * # noqa: E402, F403
from swarms.swarms import * # noqa: E402, F403
from swarms.structs import * # noqa: E402, F403

Loading…
Cancel
Save