Spaces:
Sleeping
Sleeping
Update app.py (#1)
Browse files- Update app.py (9be48e261c7d7caec5b8fe388051722b2d7ca789)
app.py
CHANGED
|
@@ -122,15 +122,14 @@ def chat(chat_history: ChatHistory) -> Tuple[ChatHistory, Completion]:
|
|
| 122 |
demo = gr.Blocks()
|
| 123 |
with demo:
|
| 124 |
with gr.Row():
|
| 125 |
-
gr.Markdown("<h1><center>RAGTheDocs</center></h1>")
|
| 126 |
|
| 127 |
gr.Markdown(
|
| 128 |
"""
|
| 129 |
## About
|
| 130 |
-
RAGTheDocs allows you to ask questions
|
| 131 |
-
Simply clone this space and point it to the right URL!
|
| 132 |
|
| 133 |
-
Try it out by asking a question below about [
|
| 134 |
|
| 135 |
## How it works
|
| 136 |
This app uses [Buster 🤖](https://github.com/jerpint/buster) and ChatGPT to search the docs for relevant info and
|
|
@@ -151,9 +150,9 @@ with demo:
|
|
| 151 |
|
| 152 |
examples = gr.Examples(
|
| 153 |
examples=[
|
| 154 |
-
"How can I
|
| 155 |
-
"
|
| 156 |
-
"
|
| 157 |
],
|
| 158 |
inputs=question,
|
| 159 |
)
|
|
|
|
| 122 |
demo = gr.Blocks()
|
| 123 |
with demo:
|
| 124 |
with gr.Row():
|
| 125 |
+
gr.Markdown("<h1><center>RAGTheDocs - docs.mila.quebec </center></h1>")
|
| 126 |
|
| 127 |
gr.Markdown(
|
| 128 |
"""
|
| 129 |
## About
|
| 130 |
+
RAGTheDocs allows you to ask questions found on the docs.mila.quebec website.
|
|
|
|
| 131 |
|
| 132 |
+
Try it out by asking a question below about [mila docs](https://docs.mila.quebec/).
|
| 133 |
|
| 134 |
## How it works
|
| 135 |
This app uses [Buster 🤖](https://github.com/jerpint/buster) and ChatGPT to search the docs for relevant info and
|
|
|
|
| 150 |
|
| 151 |
examples = gr.Examples(
|
| 152 |
examples=[
|
| 153 |
+
"How can I request a job with multiple GPUs?",
|
| 154 |
+
"Where should I store large datasets?",
|
| 155 |
+
"how can i view my GPU usage?",
|
| 156 |
],
|
| 157 |
inputs=question,
|
| 158 |
)
|