Babyloncoder's picture
Update README.md
72a13a1 verified

A newer version of the Gradio SDK is available: 5.5.0

Upgrade
metadata
title: Questions And Answers From Context
emoji: 🐢
colorFrom: gray
colorTo: red
sdk: gradio
sdk_version: 4.22.0
app_file: app.py
pinned: false

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

Explanation:

The script sets up a question-answering pipeline with the "Intel/dynamic_tinybert" model using Hugging Face Transformers. It defines a function answer_question to process the context and question inputs and format the answer in red font using HTML. The Gradio interface is created with two text input boxes for context and question, and an HTML output box for the answer. The interface launches automatically when the script is run.