Supermichi100 commited on
Commit
92ed9a9
1 Parent(s): eb52812

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. frontend_app.py +2 -2
frontend_app.py CHANGED
@@ -9,7 +9,7 @@ import pandas as pd
9
  from transformers import TapasTokenizer, TapasForQuestionAnswering
10
  from transformers import AutoTokenizer, AutoModelForTableQuestionAnswering
11
  from transformers import pipeline
12
- import PIL
13
 
14
  # read the module_guide_tableQA\0915NC_Studienplaetze.jpg as pil image
15
  pil_image = PIL.Image.open("0915NC_Studienplaetze.jpg")
@@ -222,5 +222,5 @@ with gr.Blocks() as demo:
222
  outputs = [output_question, outout_full_module]
223
  ask_btn.click(fn=get_answer, inputs=inputs, outputs=outputs, api_name="greet")
224
 
225
- demo.launch(debug=True, share=True)
226
 
 
9
  from transformers import TapasTokenizer, TapasForQuestionAnswering
10
  from transformers import AutoTokenizer, AutoModelForTableQuestionAnswering
11
  from transformers import pipeline
12
+
13
 
14
  # read the module_guide_tableQA\0915NC_Studienplaetze.jpg as pil image
15
  pil_image = PIL.Image.open("0915NC_Studienplaetze.jpg")
 
222
  outputs = [output_question, outout_full_module]
223
  ask_btn.click(fn=get_answer, inputs=inputs, outputs=outputs, api_name="greet")
224
 
225
+ demo.launch(debug=True)
226