Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,13 @@ inputs_component = [
|
|
43 |
outputs_component = gr.Dataframe(headers=["Tokenizer", "Tokens", "Encoded Output"], label="Results")
|
44 |
|
45 |
# Setting up the interface
|
46 |
-
iface = Interface(
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
|
48 |
# Launching the Gradio app
|
49 |
iface.launch()
|
|
|
43 |
outputs_component = gr.Dataframe(headers=["Tokenizer", "Tokens", "Encoded Output"], label="Results")
|
44 |
|
45 |
# Setting up the interface
|
46 |
+
iface = Interface(
|
47 |
+
fn=compare_tokenizers,
|
48 |
+
inputs=inputs_component,
|
49 |
+
outputs=outputs_component,
|
50 |
+
title="AraNizer Tokenizer Comparison",
|
51 |
+
layout="vertical" # Use the entire vertical space of the browser window
|
52 |
+
)
|
53 |
|
54 |
# Launching the Gradio app
|
55 |
iface.launch()
|