Skip to content

Commit

Permalink
Highlight python code snippets in README
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnadurai authored Oct 31, 2022
1 parent 5e9fef8 commit 1a18ddd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ aiXtend provides python APIs to call AI workflows you can build with aiXplain de
#### Pipeline Snippet
##### Synchronous

```
```python
from aixtend.factories.pipeline_factory import PipelineFactory

api_key = <API_KEY>
Expand All @@ -41,7 +41,7 @@ path = <DATA_URL>
response = pipeline.run(data=path)
```
##### Asynchronous
```
```python
import time
from aixtend.factories.pipeline_factory import PipelineFactory

Expand All @@ -62,7 +62,7 @@ if response['status'] != 'FAILED':

#### Model Snippet
##### Synchronous
```
```python
from aixtend.factories.model_factory import ModelFactory

api_key = <API_KEY>
Expand All @@ -73,7 +73,7 @@ path = <DATA_URL>
response = model.run(data=path)
```
##### Asynchronous
```
```python
import time
from aixtend.factories.model_factory import ModelFactory

Expand Down

0 comments on commit 1a18ddd

Please sign in to comment.