Francesco-A commited on
Commit
208dd7c
·
1 Parent(s): 94f1ca3

import transformer

Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -9,6 +9,7 @@ __all__ = ['model_name', 'qa_model', 'contexts', 'question', 'df_results', 'ques
9
  # %% ../drive/MyDrive/Codici/Python/Apps/Gradio_App/SemanticSearch_QA-v2.1.ipynb 2
10
  import pandas as pd
11
  import gradio as gr
 
12
  from transformers import AutoModelForQuestionAnswering, AutoTokenizer, pipeline
13
 
14
  model_name = 'Francesco-A/bert-finetuned-squad-v1'
 
9
  # %% ../drive/MyDrive/Codici/Python/Apps/Gradio_App/SemanticSearch_QA-v2.1.ipynb 2
10
  import pandas as pd
11
  import gradio as gr
12
+ import transformers
13
  from transformers import AutoModelForQuestionAnswering, AutoTokenizer, pipeline
14
 
15
  model_name = 'Francesco-A/bert-finetuned-squad-v1'