Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- __pycache__/app.cpython-311.pyc +0 -0
- app.py +6 -0
- db/8169b1c3-8be8-4059-8186-4a13b7da79f5/data_level0.bin +3 -0
- db/8169b1c3-8be8-4059-8186-4a13b7da79f5/header.bin +3 -0
- db/8169b1c3-8be8-4059-8186-4a13b7da79f5/length.bin +3 -0
- db/8169b1c3-8be8-4059-8186-4a13b7da79f5/link_lists.bin +0 -0
- db/chroma.sqlite3 +0 -0
__pycache__/app.cpython-311.pyc
CHANGED
|
Binary files a/__pycache__/app.cpython-311.pyc and b/__pycache__/app.cpython-311.pyc differ
|
|
|
app.py
CHANGED
|
@@ -3,10 +3,16 @@ import os
|
|
| 3 |
import gradio as gr
|
| 4 |
|
| 5 |
from embedchain import App
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
os.environ["OPENAI_API_KEY"] = "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"
|
| 8 |
|
| 9 |
app = App()
|
|
|
|
|
|
|
| 10 |
|
| 11 |
|
| 12 |
def query(message, history):
|
|
|
|
| 3 |
import gradio as gr
|
| 4 |
|
| 5 |
from embedchain import App
|
| 6 |
+
from embedchain import App
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
|
| 10 |
|
| 11 |
os.environ["OPENAI_API_KEY"] = "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"
|
| 12 |
|
| 13 |
app = App()
|
| 14 |
+
app.add(r'C:/Users/alroj/Downloads/Manual_de_prevencion_31demarzo.pdf', data_type='pdf_file')
|
| 15 |
+
|
| 16 |
|
| 17 |
|
| 18 |
def query(message, history):
|
db/8169b1c3-8be8-4059-8186-4a13b7da79f5/data_level0.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f18abd8c514282db82706e52b0a33ed659cd534e925a6f149deb7af9ce34bd8e
|
| 3 |
+
size 6284000
|
db/8169b1c3-8be8-4059-8186-4a13b7da79f5/header.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:effaa959ce2b30070fdafc2fe82096fc46e4ee7561b75920dd3ce43d09679b21
|
| 3 |
+
size 100
|
db/8169b1c3-8be8-4059-8186-4a13b7da79f5/length.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a826e1c96fd723d3b86b8f9a52f087156ae30bd1ae4fe3564853134c3b7d077a
|
| 3 |
+
size 4000
|
db/8169b1c3-8be8-4059-8186-4a13b7da79f5/link_lists.bin
ADDED
|
File without changes
|
db/chroma.sqlite3
CHANGED
|
Binary files a/db/chroma.sqlite3 and b/db/chroma.sqlite3 differ
|
|
|