Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
|
|
4 |
from datetime import datetime
|
5 |
from transformers import pipeline
|
6 |
|
7 |
-
qa_pipeline = pipeline("question-answering", model="
|
8 |
|
9 |
# Function to analyze each section with prompts
|
10 |
def prompt_based_analysis(question, context):
|
|
|
4 |
from datetime import datetime
|
5 |
from transformers import pipeline
|
6 |
|
7 |
+
qa_pipeline = pipeline("question-answering", model="deepset/deberta-v3-large-squad2")
|
8 |
|
9 |
# Function to analyze each section with prompts
|
10 |
def prompt_based_analysis(question, context):
|