Skip to content

Commit 1a18ddd

Browse files
authored
Highlight python code snippets in README
1 parent 5e9fef8 commit 1a18ddd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ aiXtend provides python APIs to call AI workflows you can build with aiXplain de
3030
#### Pipeline Snippet
3131
##### Synchronous
3232

33-
```
33+
```python
3434
from aixtend.factories.pipeline_factory import PipelineFactory
3535

3636
api_key = <API_KEY>
@@ -41,7 +41,7 @@ path = <DATA_URL>
4141
response = pipeline.run(data=path)
4242
```
4343
##### Asynchronous
44-
```
44+
```python
4545
import time
4646
from aixtend.factories.pipeline_factory import PipelineFactory
4747

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

6363
#### Model Snippet
6464
##### Synchronous
65-
```
65+
```python
6666
from aixtend.factories.model_factory import ModelFactory
6767

6868
api_key = <API_KEY>
@@ -73,7 +73,7 @@ path = <DATA_URL>
7373
response = model.run(data=path)
7474
```
7575
##### Asynchronous
76-
```
76+
```python
7777
import time
7878
from aixtend.factories.model_factory import ModelFactory
7979

0 commit comments

Comments
 (0)