Spaces:
Running
Running
Ron
commited on
Commit
•
918e494
1
Parent(s):
45b4c77
add color
Browse files
app.py
CHANGED
@@ -16,14 +16,14 @@ if 'response_content' not in st.session_state:
|
|
16 |
chat_col = st.container()
|
17 |
|
18 |
chat_col.title("CodeLATS")
|
19 |
-
description = """This tech demo is an implementation of Language Agent Tree Search (LATS) (https://arxiv.org/abs/2310.04406) built specifically for generating code in the form of python functions. It achieves **state-of-the-art** results on HumanEval with a **94.4% pass@1 rate** on GPT-4.
|
20 |
|
21 |
Listed below is an example programming problem (https://leetcode.com/problems/longest-valid-parentheses/description/) to get started with.
|
22 |
|
23 |
```python
|
24 |
Given a string containing just the characters '(' and ')', return the length of the longest valid (well-formed) parentheses substring
|
25 |
```
|
26 |
-
NOTE
|
27 |
"""
|
28 |
|
29 |
chat_col.markdown(description)
|
|
|
16 |
chat_col = st.container()
|
17 |
|
18 |
chat_col.title("CodeLATS")
|
19 |
+
description = """This tech demo is an implementation of Language Agent Tree Search (LATS) (https://arxiv.org/abs/2310.04406) built specifically for generating code in the form of python functions. It achieves :green[**state-of-the-art**] results on HumanEval with a :green[**94.4% pass@1 rate**] on GPT-4.
|
20 |
|
21 |
Listed below is an example programming problem (https://leetcode.com/problems/longest-valid-parentheses/description/) to get started with.
|
22 |
|
23 |
```python
|
24 |
Given a string containing just the characters '(' and ')', return the length of the longest valid (well-formed) parentheses substring
|
25 |
```
|
26 |
+
:red[**NOTE:**] On average a call for a HumanEval or Leetcode question will cost around 5-30 cents on GPT-4, using the default parameters. This value may change depending on problem difficulty and parameters.
|
27 |
"""
|
28 |
|
29 |
chat_col.markdown(description)
|