Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -55,5 +55,5 @@ if __name__ == "__main__":
|
|
55 |
gemma_tokenizer = AutoTokenizer.from_pretrained("alpindale/gemma-2b")
|
56 |
command_r_tokenizer = AutoTokenizer.from_pretrained("CohereForAI/c4ai-command-r-plus")
|
57 |
|
58 |
-
iface = gr.Interface(fn=tokenize, inputs=gr.Textbox(label="
|
59 |
iface.launch()
|
|
|
55 |
gemma_tokenizer = AutoTokenizer.from_pretrained("alpindale/gemma-2b")
|
56 |
command_r_tokenizer = AutoTokenizer.from_pretrained("CohereForAI/c4ai-command-r-plus")
|
57 |
|
58 |
+
iface = gr.Interface(label="Token Counts", fn=tokenize, inputs=gr.Textbox(label="Input Text", lines=10), outputs="text")
|
59 |
iface.launch()
|