Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
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 |
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",
|
|
|
1 |
import gradio as gr
|
2 |
description = "Question Answering Demo 🙌🏼"
|
3 |
title = "Question Answering with Keras"
|
|
|
4 |
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."
|
5 |
question = "What is Keras?"
|
6 |
+
interface = gr.Interface.load("huggingface/keras-io/transformers-qa",
|
7 |
description=description,
|
8 |
title = title,
|
9 |
theme = "grass",
|