merve HF staff commited on
Commit
d895bf2
·
1 Parent(s): 63eb009

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -2,7 +2,11 @@ import gradio as gr
2
  description = "Question Answering Demo 🙌🏼"
3
  title = "Question Answering with Keras"
4
  interface = gr.Interface.load("huggingface/keras-io/transformers-qa",
 
 
5
  description=description,
6
- title = title
 
 
7
  )
8
  interface.launch()
 
2
  description = "Question Answering Demo 🙌🏼"
3
  title = "Question Answering with Keras"
4
  interface = gr.Interface.load("huggingface/keras-io/transformers-qa",
5
+ 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."
6
+ question = "What is Keras?"
7
  description=description,
8
+ title = title,
9
+ theme = "grass",
10
+ examples = [[context, question]]
11
  )
12
  interface.launch()