Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evref-bl/pharo-huggingface
https://github.com/evref-bl/pharo-huggingface
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/evref-bl/pharo-huggingface
- Owner: Evref-BL
- Created: 2023-10-16T15:01:09.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-08T11:40:13.000Z (about 1 year ago)
- Last Synced: 2023-11-09T12:03:05.346Z (about 1 year ago)
- Language: Smalltalk
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pharo-HuggingFace
This is a simple API to call the inference API of [Hugging Face](https://huggingface.co).
## Example
**First**, change your api key in the Pharo settings
```st
api := HFAPI new.
api query: 'How are you ?'.
```## Installation
```st
Metacello new
githubUser: 'Evref-BL' project: 'Pharo-HuggingFace' commitish: 'main' path: 'src';
baseline: 'PharoHuggingFace';
load
```