HeshamHaroon commited on
Commit
d5b1f62
·
verified ·
1 Parent(s): a484571

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
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(fn=compare_tokenizers, inputs=inputs_component, outputs=outputs_component, title="AraNizer Tokenizer Comparison")
 
 
 
 
 
 
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()