Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -127,11 +127,11 @@ for filename in glob.glob("sources/*"):
|
|
| 127 |
|
| 128 |
gr.Interface(
|
| 129 |
predict,
|
|
|
|
| 130 |
inputs=[
|
| 131 |
gr.Textbox(label="Query asked about the documents"),
|
| 132 |
gr.Number(label="Max output characters", value=default_max_characters),
|
| 133 |
],
|
| 134 |
outputs=[gr.JSON(label="Relevant chunks")],
|
| 135 |
-
title="RAG
|
| 136 |
-
description="This is a demo of the RAG Community Tool Template. To use RAG in HuggingChat with your own documents, start by cloning this space, add your documents to the `sources` folder, and then create a community tool with this space!",
|
| 137 |
).launch()
|
|
|
|
| 127 |
|
| 128 |
gr.Interface(
|
| 129 |
predict,
|
| 130 |
+
theme="Nymbo/Nymbo_Theme",
|
| 131 |
inputs=[
|
| 132 |
gr.Textbox(label="Query asked about the documents"),
|
| 133 |
gr.Number(label="Max output characters", value=default_max_characters),
|
| 134 |
],
|
| 135 |
outputs=[gr.JSON(label="Relevant chunks")],
|
| 136 |
+
title="Hugging Chat RAG Tool",
|
|
|
|
| 137 |
).launch()
|