Spaces:
Running
Running
update app text
Browse files
app.py
CHANGED
|
@@ -61,11 +61,10 @@ with gr.Blocks(
|
|
| 61 |
This tool allows you to upload PDF files and search for the most relevant pages based on your query.
|
| 62 |
Refresh the page if you change documents!
|
| 63 |
|
| 64 |
-
⚠️ This demo uses a
|
| 65 |
-
Other models will be released with better robustness towards different languages and document formats!
|
| 66 |
""")
|
| 67 |
|
| 68 |
-
api_key = gr.Textbox(placeholder="Enter your OpenAI KEY here
|
| 69 |
|
| 70 |
stored_messages = gr.State(value=[])
|
| 71 |
|
|
|
|
| 61 |
This tool allows you to upload PDF files and search for the most relevant pages based on your query.
|
| 62 |
Refresh the page if you change documents!
|
| 63 |
|
| 64 |
+
⚠️ This demo uses a CPU version of the model, so it may be slow. For faster results you may want to fork the space and run it on a GPU.
|
|
|
|
| 65 |
""")
|
| 66 |
|
| 67 |
+
api_key = gr.Textbox(placeholder="Enter your OpenAI KEY here", label="API key")
|
| 68 |
|
| 69 |
stored_messages = gr.State(value=[])
|
| 70 |
|