Almaatla commited on
Commit
fe257d3
1 Parent(s): 0870a4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -29,4 +29,7 @@ with gr.Blocks() as demo:
29
  docs_input = gr.File(file_count="single", file_types=[".pdf"])
30
  tb_tokenCount = gr.Textbox(label='Number of tokens')
31
  btn_count = gr.Button("Count token")
32
- btn_count.click(count_tokens_in_file,inputs=[docs_input],outputs=[tb_tokenCount])
 
 
 
 
29
  docs_input = gr.File(file_count="single", file_types=[".pdf"])
30
  tb_tokenCount = gr.Textbox(label='Number of tokens')
31
  btn_count = gr.Button("Count token")
32
+ btn_count.click(count_tokens_in_file,inputs=[docs_input],outputs=[tb_tokenCount])
33
+
34
+ #demo.queue()
35
+ demo.launch(debug=True,share=False)