merve's picture
merve HF staff
Update app.py
1b0703d
raw
history blame
No virus
678 Bytes
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."
question = "What is Keras?"
interface = gr.Interface.load("huggingface/keras-io/transformers-qa",
description=description,
title = title,
theme = "grass",
examples = [[context, question]]
)
interface.launch()