Skip to content

Commit

Permalink
[README]
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Nov 14, 2024
1 parent 2e120db commit e2cdc54
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,8 @@ Create a JSON file with data about three planets including their name, distance

### Run Your .ai File

```python

from ai_lang.ai_lang import process_ai_file_sync
from loguru import logger
import sys

try:
results = process_ai_file_sync("test.ai")
logger.info(f"Successfully processed {len(results)} requests")
except Exception as e:
logger.exception(f"Failed to process file: {e}")
sys.exit(1)

```bash
ai-lang run example.ai

```

Expand Down

0 comments on commit e2cdc54

Please sign in to comment.