ketangandhi commited on
Commit
d029f96
1 Parent(s): 5ec403c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ pdf_text = extract_text_from_pdf(pdf_path)
26
  model_name="deepset/roberta-base-squad2"
27
  qa_pipeline = pipeline("question-answering", model=AutoModelForQuestionAnswering.from_pretrained(model_name),tokenizer=AutoTokenizer.from_pretrained(model_name))
28
 
29
- with gr.Blocks(css=".gradio-container {background-color: white}") as demo:
30
  chatbot = gr.Chatbot()
31
  msg = gr.Textbox(placeholder="Ask me anything related to Ketan Gandhi😎")
32
  clear = gr.ClearButton([msg, chatbot])
 
26
  model_name="deepset/roberta-base-squad2"
27
  qa_pipeline = pipeline("question-answering", model=AutoModelForQuestionAnswering.from_pretrained(model_name),tokenizer=AutoTokenizer.from_pretrained(model_name))
28
 
29
+ with gr.Blocks() as demo:
30
  chatbot = gr.Chatbot()
31
  msg = gr.Textbox(placeholder="Ask me anything related to Ketan Gandhi😎")
32
  clear = gr.ClearButton([msg, chatbot])