File size: 444 Bytes
01eff89
 
7f6f45a
01eff89
 
 
 
 
 
 
 
 
3039366
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
title: Token Cost Calculator
emoji: 💰
colorFrom: yellow
colorTo: gray
sdk: gradio
sdk_version: 4.24.0
app_file: app.py
pinned: false
license: mit
---

A Gradio App for Calculating OpenAI API Tokens and Costs. 

Local setup:

```bash
$ python -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
```

Then run `python app.py` or `gradio app.py` (for debugging auto reloading) to try the app at http://127.0.0.1:7860/