Skip to content

Commit

Permalink
Fixing read documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajashekar Chintalapati committed Aug 18, 2024
1 parent e9b74fb commit 5f59b7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ instate exposes 5 functions.

::
from instate import lookup_lang
from instate.instate import lookup_lang
df = pd.DataFrame({'last_name': ['sood', 'chintalapati']})
lookup_lang(df, "last_name")
Expand All @@ -111,7 +111,7 @@ instate exposes 5 functions.

::
from instate import predict_lang
from instate.instate import predict_lang
df = pd.DataFrame({'last_name': ['sood', 'chintalapati']})
predict_lang(df, "last_name")
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def run_tests(self):

setup(
name="instate",
version="0.1.3",
version="0.1.5",
description="Instate: predict the state of residence from last name",
long_description=readme,
long_description_content_type = "text/x-rst",
Expand Down Expand Up @@ -123,6 +123,7 @@ def run_tests(self):
"data/state_lang_labels.pt",
"data/langs.txt",
"data/char2idx.json",
"models/model_lang.py",
],
},
# Although 'package_data' is the preferred approach, in some case you may
Expand Down

0 comments on commit 5f59b7a

Please sign in to comment.