Skip to content

Commit 080a2bc

Browse files
authored
Merge pull request #25 from A-Baji/dev
stuff
2 parents 575cd4a + a3706c8 commit 080a2bc

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

discordai_modelizer/customize.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,11 @@ def create_model(bot_token: str, openai_key: str, channel_id: str, user_id: str,
4747
os.remove(full_prepped_dataset_path)
4848
except FileNotFoundError:
4949
pass
50-
print(full_dataset_path)
5150
subprocess.run([
52-
"ls", "-la", files_path
51+
"openai", "tools", "fine_tunes.prepare_data",
52+
"-f", full_dataset_path,
53+
"-q"
5354
])
54-
subprocess.run([
55-
f"openai tools fine_tunes.prepare_data -f \"{full_dataset_path}\" -q"
56-
], shell=True)
5755
if os.path.isfile(full_prepped_dataset_path):
5856
get_lines(full_prepped_dataset_path, max_entry_count, reduce_mode)
5957
else:

discordai_modelizer/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.0.2"
1+
__version__ = "1.0.1"

0 commit comments

Comments
 (0)