Skip to content

Commit

Permalink
Merge pull request #3051 from RobertFlatt/develop
Browse files Browse the repository at this point in the history
Add tiktoken recipe
  • Loading branch information
AndreMiras authored Aug 19, 2024
2 parents d7f0a1d + 18b1bd6 commit 3094c04
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pythonforandroid/recipes/tiktoken/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
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 3094c04

Please sign in to comment.