Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -34,6 +34,10 @@ from appStore.filter_utils import (
|
|
34 |
get_crs_options
|
35 |
)
|
36 |
|
|
|
|
|
|
|
|
|
37 |
# Initialize the parser and read the configuration file
|
38 |
config = configparser.ConfigParser()
|
39 |
config.read('model_params.cfg')
|
@@ -45,15 +49,6 @@ WRITE_ACCESS_TOKEN = config.get('MODEL', 'WRITE_ACCESS_TOKEN')
|
|
45 |
|
46 |
st.set_page_config(page_title="SEARCH IATI", layout='wide')
|
47 |
|
48 |
-
|
49 |
-
###########################################
|
50 |
-
# Global / Model Config
|
51 |
-
###########################################
|
52 |
-
DEDICATED_MODEL = "meta-llama/Llama-3.1-8B-Instruct"
|
53 |
-
DEDICATED_ENDPOINT = "https://nwea79x4q1clc89l.eu-west-1.aws.endpoints.huggingface.cloud"
|
54 |
-
WRITE_ACCESS_TOKEN = st.secrets["Llama_3_1"]
|
55 |
-
|
56 |
-
|
57 |
###########################################
|
58 |
# Cache the project data
|
59 |
###########################################
|
|
|
34 |
get_crs_options
|
35 |
)
|
36 |
|
37 |
+
###########################################
|
38 |
+
# Model Config
|
39 |
+
###########################################
|
40 |
+
|
41 |
# Initialize the parser and read the configuration file
|
42 |
config = configparser.ConfigParser()
|
43 |
config.read('model_params.cfg')
|
|
|
49 |
|
50 |
st.set_page_config(page_title="SEARCH IATI", layout='wide')
|
51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
###########################################
|
53 |
# Cache the project data
|
54 |
###########################################
|