Spaces:
Runtime error
Runtime error
Upload 2 files
Browse files- config.py +18 -0
- requirements.txt +13 -0
config.py
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
|
3 |
+
openai_api = os.environ.get("openai")
|
4 |
+
groq_api = os.environ.get("groq")
|
5 |
+
proxycurl_api = os.environ.get("proxycurl")
|
6 |
+
gemini_api = os.environ.get("gemini")
|
7 |
+
|
8 |
+
file_id_htl_biotech = os.environ.get("file_id_htl_biotech")
|
9 |
+
file_id_smart_sd = os.environ.get("file_id_smart_sd")
|
10 |
+
file_id_kamera_express = os.environ.get("file_id_kamera_express")
|
11 |
+
file_id_sunday_naturals = os.environ.get("file_id_sunday_naturals")
|
12 |
+
|
13 |
+
|
14 |
+
models = {
|
15 |
+
# "openai" : 'gpt-4-turbo',
|
16 |
+
"openai" : 'gpt-4o',
|
17 |
+
"groq" : "llama3-70b-8192"
|
18 |
+
}
|
requirements.txt
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
pandas
|
2 |
+
numpy
|
3 |
+
tabula-py
|
4 |
+
openai
|
5 |
+
gradio
|
6 |
+
pyPDF2
|
7 |
+
marker-pdf
|
8 |
+
groq
|
9 |
+
bs4
|
10 |
+
nltk
|
11 |
+
tiktoken
|
12 |
+
pdf2image
|
13 |
+
gdown
|