Spaces:
Runtime error
Runtime error
Added title, description, changed theme
Browse files
app.py
CHANGED
|
@@ -86,6 +86,15 @@ outputs = [
|
|
| 86 |
Textbox(label="Answers")
|
| 87 |
]
|
| 88 |
|
| 89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
|
| 91 |
gradio_interface.launch()
|
|
|
|
| 86 |
Textbox(label="Answers")
|
| 87 |
]
|
| 88 |
|
| 89 |
+
title = 'AnswerMate'
|
| 90 |
+
description = 'The service allows you to get answers to all questions on the specified topic.'
|
| 91 |
+
|
| 92 |
+
gradio_interface = gr.Interface(
|
| 93 |
+
theme='soft',
|
| 94 |
+
title=title,
|
| 95 |
+
description=description,
|
| 96 |
+
fn=find_answers,
|
| 97 |
+
inputs=inputs,
|
| 98 |
+
outputs=outputs)
|
| 99 |
|
| 100 |
gradio_interface.launch()
|