Skip to content

Commit

Permalink
Merge pull request #170 from MatthewScholefield/patch-1
Browse files Browse the repository at this point in the history
Fix example on README
  • Loading branch information
krisgesling committed Aug 5, 2020
2 parents 0f95692 + 0288967 commit e1a635e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ from precise_runner import PreciseEngine, PreciseRunner
engine = PreciseEngine('precise-engine/precise-engine', 'my_model_file.pb')
runner = PreciseRunner(engine, on_activation=lambda: print('hello'))
runner.start()

# Sleep forever
from time import sleep
while True:
sleep(10)
```

### Source Install
Expand Down Expand Up @@ -120,6 +125,11 @@ from precise_runner import PreciseEngine, PreciseRunner
engine = PreciseEngine('.venv/bin/precise-engine', 'my_model_file.pb')
runner = PreciseRunner(engine, on_activation=lambda: print('hello'))
runner.start()

# Sleep forever
from time import sleep
while True:
sleep(10)
```

In addition to the `precise-engine` executable, doing a **Source Install** gives you
Expand Down

0 comments on commit e1a635e

Please sign in to comment.