Spaces:
Runtime error
Runtime error
Download app.py from saicharan2804/BpeTokenizer: direct link, hf CLI and curl.
- Browser
- Download file 219 Bytes
-
https://huggingface.co/spaces/saicharan2804/BpeTokenizer/resolve/main/app.py
- Command line
-
hf download hf://spaces/saicharan2804/BpeTokenizer/app.py
-
curl -L -o app.py https://huggingface.co/spaces/saicharan2804/BpeTokenizer/resolve/main/app.py
219 Bytes
| import gradio as gr | |
| from BpeTokenizer import bpe_tokenizer | |
| iface = gr.Interface( | |
| fn = bpe_tokenizer, | |
| inputs=[ | |
| gr.Textbox(label="SMILES"), | |
| ], | |
| outputs=["text", "text"] | |
| ) | |
| iface.launch() | |