Skip to content

Commit

Permalink
Add tiktoken recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertFlatt authored Aug 19, 2024
1 parent d7f0a1d commit 88cc5d8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pythonforandroid/recipes/tiktoken/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from pythonforandroid.recipe import RustCompiledComponentsRecipe


class TiktokenRecipe(RustCompiledComponentsRecipe):
name = 'tiktoken'
version = '0.7.0'
url = 'https://github.com/openai/tiktoken/archive/refs/tags/{version}.tar.gz'
depends = ['regex','requests']


recipe = TiktokenRecipe()

0 comments on commit 88cc5d8

Please sign in to comment.