Spaces:
Runtime error
Runtime error
Commit
·
11fc228
1
Parent(s):
55167c7
update/debug
Browse files
app.py
CHANGED
@@ -101,6 +101,8 @@ def infer(code):
|
|
101 |
clean_up_tokenization_spaces=True,
|
102 |
)
|
103 |
|
|
|
|
|
104 |
field_prompt_result, fields, field_helper_result = field_prompt(code)
|
105 |
if len(fields) == 0:
|
106 |
field_output = "Failed to parse fields" if field_prompt_result is None else "No fields"
|
@@ -149,7 +151,10 @@ artifacts](https://github.com/lt-asset/resym). For more information, please see
|
|
149 |
README](https://huggingface.co/spaces/ejschwartz/resym/blob/main/README.md). If
|
150 |
you get an error, please make sure the [ReSym field helper
|
151 |
space](https://huggingface.co/spaces/ejschwartz/resym-field-helper) is
|
152 |
-
running.
|
|
|
|
|
|
|
153 |
examples=examples,
|
154 |
)
|
155 |
demo.launch()
|
|
|
101 |
clean_up_tokenization_spaces=True,
|
102 |
)
|
103 |
|
104 |
+
print(f"Var output: {repr(var_output)}")
|
105 |
+
|
106 |
field_prompt_result, fields, field_helper_result = field_prompt(code)
|
107 |
if len(fields) == 0:
|
108 |
field_output = "Failed to parse fields" if field_prompt_result is None else "No fields"
|
|
|
151 |
README](https://huggingface.co/spaces/ejschwartz/resym/blob/main/README.md). If
|
152 |
you get an error, please make sure the [ReSym field helper
|
153 |
space](https://huggingface.co/spaces/ejschwartz/resym-field-helper) is
|
154 |
+
running.
|
155 |
+
|
156 |
+
Model inference is currently **not working**. I am investigating the issue.
|
157 |
+
""",
|
158 |
examples=examples,
|
159 |
)
|
160 |
demo.launch()
|