Skip to content

Commit a4979d4

Browse files
authored
Merge pull request #34 from slashml/update-snippet
udpate snippet
2 parents 64241f0 + b91e350 commit a4979d4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ print(f"Job ID: {job.id}")
3333
response = model.status(job.id, service_provider=service_provider)
3434

3535
while response.status == "IN_PROGRESS":
36-
time.sleep(30)
36+
time.sleep(5)
3737
response = model.status(job.id, service_provider=service_provider)
38-
print(f"Response = {response}. Retrying in 30 seconds")
38+
print(f"Response = {response}. Retrying in 5 seconds")
3939

4040
print(response)
4141
```

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@ def read_req_file(req_type):
1414

1515
setup(
1616
name="slashml",
17-
version="0.0.4",
17+
version="0.0.5",
1818
url="https://slashml.com/",
1919
author="eff-kay",
2020
author_email="faiizan14@gmail.com",
2121
description=(
2222
"A Python client for interacting with SlashML services" "Developed by SlashML."
2323
),
2424
long_description=long_description, # Use the contents of the README file
25+
long_description_content_type="text/markdown", # Set the type of the README file
2526
packages=find_packages("."),
2627
package_dir={"": "."},
2728
install_requires=read_req_file("install"),

0 commit comments

Comments
 (0)