EDEN / Try EDEN.command
Rybib's picture
Upload EDEN model and code
453c542 verified
Raw
History Blame
513 Bytes
#!/bin/bash
# Double-click this file to chat with EDEN in a terminal window.
# It loads the published model from Hugging Face and lets you clean up text.
cd "$(dirname "$0")" || exit 1
echo "Starting EDEN..."
# Make sure the needed packages are present.
python3 -c "import transformers, torch" 2>/dev/null
if [ $? -ne 0 ]; then
echo "Installing required packages (one time)..."
pip3 install torch transformers
fi
python3 examples/try_eden.py
echo ""
echo "EDEN session ended. You can close this window."