Spaces:
Build error
Build error
| import gradio as gr | |
| description = "Question Answering Demo 🙌🏼" | |
| title = "Question Answering with Keras" | |
| context = "Keras is an API designed for human beings, not machines. Keras follows best practices for reducing cognitive load: it offers consistent & simple APIs, it minimizes the number of user actions required for common use cases, and it provides clear & actionable error messages. It also has extensive documentation and developer guides. See the model here: hf.co/keras-io/transformers-qa" | |
| question = "What is Keras?" | |
| interface = gr.Interface.load("huggingface/keras-io/transformers-qa", | |
| description=description, | |
| title = title, | |
| theme = "grass", | |
| examples = [[context, question]] | |
| ) | |
| interface.launch() |