Spaces:
Sleeping
Sleeping
Updated for Huggingface Spaces.
Browse files- Dockerfile +2 -2
- config.yml +29 -27
Dockerfile
CHANGED
@@ -6,7 +6,7 @@ WORKDIR /app
|
|
6 |
|
7 |
# Copy all files from the current directory to the working directory in the container
|
8 |
COPY config.yml poetry.lock pyproject.toml /app/
|
9 |
-
COPY
|
10 |
COPY meta_prompt /app/meta_prompt/
|
11 |
|
12 |
RUN pip install --no-cache-dir -U poetry
|
@@ -17,4 +17,4 @@ RUN poetry install --with=dev
|
|
17 |
EXPOSE 7860
|
18 |
|
19 |
# Run the script when the container launches
|
20 |
-
CMD python
|
|
|
6 |
|
7 |
# Copy all files from the current directory to the working directory in the container
|
8 |
COPY config.yml poetry.lock pyproject.toml /app/
|
9 |
+
COPY app /app/app/
|
10 |
COPY meta_prompt /app/meta_prompt/
|
11 |
|
12 |
RUN pip install --no-cache-dir -U poetry
|
|
|
17 |
EXPOSE 7860
|
18 |
|
19 |
# Run the script when the container launches
|
20 |
+
CMD python app/gradio_meta_prompt.py
|
config.yml
CHANGED
@@ -3,35 +3,37 @@ llms:
|
|
3 |
type: ChatOpenAI
|
4 |
temperature: 0.1
|
5 |
model_name: "llama3-70b-8192"
|
6 |
-
openai_api_key: ""
|
7 |
openai_api_base: "https://api.groq.com/openai/v1"
|
8 |
max_tokens: 8192
|
9 |
verbose: true
|
10 |
-
anthropic/claude-3-haiku:
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
anthropic/claude-3-sonnet:
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
anthropic/deepseek-chat:
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
|
35 |
examples_path: "app/examples"
|
36 |
-
server_name: 0.0.0.0
|
37 |
-
server_port: 7860
|
|
|
|
|
|
3 |
type: ChatOpenAI
|
4 |
temperature: 0.1
|
5 |
model_name: "llama3-70b-8192"
|
6 |
+
# openai_api_key: ""
|
7 |
openai_api_base: "https://api.groq.com/openai/v1"
|
8 |
max_tokens: 8192
|
9 |
verbose: true
|
10 |
+
# anthropic/claude-3-haiku:
|
11 |
+
# type: ChatOpenAI
|
12 |
+
# temperature: 0.1
|
13 |
+
# model_name: "anthropic/claude-3-haiku:beta"
|
14 |
+
# openai_api_key: ""
|
15 |
+
# openai_api_base: "https://openrouter.ai/api/v1"
|
16 |
+
# max_tokens: 8192
|
17 |
+
# verbose: true
|
18 |
+
# anthropic/claude-3-sonnet:
|
19 |
+
# type: ChatOpenAI
|
20 |
+
# temperature: 0.1
|
21 |
+
# model_name: "anthropic/claude-3-sonnet:beta"
|
22 |
+
# openai_api_key: ""
|
23 |
+
# openai_api_base: "https://openrouter.ai/api/v1"
|
24 |
+
# max_tokens: 8192
|
25 |
+
# verbose: true
|
26 |
+
# anthropic/deepseek-chat:
|
27 |
+
# type: ChatOpenAI
|
28 |
+
# temperature: 0.1
|
29 |
+
# model_name: "deepseek/deepseek-chat"
|
30 |
+
# openai_api_key: ""
|
31 |
+
# openai_api_base: "https://openrouter.ai/api/v1"
|
32 |
+
# max_tokens: 8192
|
33 |
+
# verbose: true
|
34 |
|
35 |
examples_path: "app/examples"
|
36 |
+
# server_name: 0.0.0.0
|
37 |
+
# server_port: 7860
|
38 |
+
recursion_limit: 16
|
39 |
+
recursion_limit_max: 20
|