Skip to content

Commit

Permalink
Linting Examples
Browse files Browse the repository at this point in the history
  • Loading branch information
pstern-sl committed May 20, 2024
1 parent d3d60df commit 7419716
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/embedding.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env -S npm run tsn -T

import Together from 'together';
import Together from 'together';

const together = new Together();

Expand Down
2 changes: 1 addition & 1 deletion examples/files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// Example of listing and retrieving files

import Together from 'together';
import Together from 'together';

const together = new Together();

Expand Down
1 change: 0 additions & 1 deletion examples/fine-tune.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Together from 'together';
const together = new Together();

async function main() {

//These files need to be uploaded separately. See the files example.
const fileId = 'file-bf72b951-fa1a-41af-a152-fe385dca0201';

Expand Down
2 changes: 1 addition & 1 deletion examples/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

//An example to generate an image and save to a file

import Together from 'together';
import Together from 'together';
import fs from 'fs';

const together = new Together();
Expand Down
2 changes: 1 addition & 1 deletion examples/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

//An example to request a list of models and print them.

import Together from 'together';
import Together from 'together';

const together = new Together();

Expand Down
2 changes: 1 addition & 1 deletion examples/streaming.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env -S npm run tsn -T

import Together from 'together';
import Together from 'together';

const together = new Together();

Expand Down

0 comments on commit 7419716

Please sign in to comment.