Spaces:
Build error
Build error
consciousAI
commited on
Commit
•
acfc725
1
Parent(s):
8da1878
Update app.py
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ def predict(query, context):
|
|
79 |
return cust_answer, cust_answer_sentence, cust_answer_span, cust_confidence, cust_answer_2, cust_answer_sentence_2, cust_answer_span_2, cust_answer_3, cust_answer_sentence_3, cust_answer_span_3, cust_confidence_3
|
80 |
|
81 |
with gr.Blocks() as demo:
|
82 |
-
gr.Markdown(value="# Question Answering Encoders vs Generative\n [Question Answering Leveraging Encoders](https://huggingface.co/anshoomehra/question-answering-roberta-base-s)\n\n[Generative Question Answering](https://huggingface.co/anshoomehra/question-answering-generative-t5-v1-base-s-q-c)")
|
83 |
with gr.Accordion(variant='compact', label='Input Values'):
|
84 |
with gr.Row(variant='compact'):
|
85 |
queryDefault = "Which company alongside Amazon, Apple, Meta, and Microsoft is considered part of Big Five?"
|
|
|
79 |
return cust_answer, cust_answer_sentence, cust_answer_span, cust_confidence, cust_answer_2, cust_answer_sentence_2, cust_answer_span_2, cust_answer_3, cust_answer_sentence_3, cust_answer_span_3, cust_confidence_3
|
80 |
|
81 |
with gr.Blocks() as demo:
|
82 |
+
gr.Markdown(value="# Question Answering Encoders vs Generative\n [Question Answering Leveraging Encoders V1](https://huggingface.co/anshoomehra/question-answering-roberta-base-s)\n\n[Question Answering Leveraging Encoders V2](https://huggingface.co/anshoomehra/question-answering-roberta-base-s-v2)\n\n[Generative Question Answering](https://huggingface.co/anshoomehra/question-answering-generative-t5-v1-base-s-q-c)")
|
83 |
with gr.Accordion(variant='compact', label='Input Values'):
|
84 |
with gr.Row(variant='compact'):
|
85 |
queryDefault = "Which company alongside Amazon, Apple, Meta, and Microsoft is considered part of Big Five?"
|