ejschwartz commited on
Commit
9bd433d
·
1 Parent(s): b0d1833

Update description

Browse files
Files changed (2) hide show
  1. README.md +8 -0
  2. app.py +4 -1
README.md CHANGED
@@ -49,6 +49,14 @@ Technically this is data leakage, but since the first token is usually part of
49
  the prompt (a variable name or field expression) it's probably OK? But it's
50
  also pretty weird.
51
 
 
 
 
 
 
 
 
 
52
  ### Other
53
 
54
  * ReSym's parser fails for functions with a non-automatic name
 
49
  the prompt (a variable name or field expression) it's probably OK? But it's
50
  also pretty weird.
51
 
52
+ ### `field_access_driver` clang parser
53
+
54
+ ReSym uses a clang-based parsing tool to extract field accesses. The tool still
55
+ outputs the field accesses even if the code does not parse correctly. This
56
+ seems to be design, so I am doing this too. Otherwise, most of the ReSym
57
+ examples do not work, because external functions and variables are not properly
58
+ declared.
59
+
60
  ### Other
61
 
62
  * ReSym's parser fails for functions with a non-automatic name
app.py CHANGED
@@ -140,7 +140,10 @@ demo = gr.Interface(
140
  gr.Text(label="Generated Variable List"),
141
  gr.Text(label="Generated Field Access List"),
142
  ],
143
- description=frontmatter.load("README.md").content,
 
 
 
144
  examples=examples,
145
  )
146
  demo.launch()
 
140
  gr.Text(label="Generated Variable List"),
141
  gr.Text(label="Generated Field Access List"),
142
  ],
143
+ # description=frontmatter.load("README.md").content,
144
+ description="""This is a test space of the models from the [ReSym
145
+ artifacts](https://github.com/lt-asset/resym). For more information, please see
146
+ [the README](README.md).""",
147
  examples=examples,
148
  )
149
  demo.launch()