Spaces:
Runtime error
Runtime error
ffreemt
commited on
Commit
·
2d9245d
1
Parent(s):
83cfba4
Update prompt with :
Browse files
app.py
CHANGED
|
@@ -54,7 +54,8 @@ This is a system prompt, please behave and help the user.
|
|
| 54 |
"""
|
| 55 |
prompt_template = """
|
| 56 |
[INST] Write code to solve the following coding problem that obeys the constraints and
|
| 57 |
-
passes the example test cases. Please wrap your code answer using
|
|
|
|
| 58 |
{question}
|
| 59 |
[/INST]
|
| 60 |
"""
|
|
@@ -279,9 +280,7 @@ with gr.Blocks(
|
|
| 279 |
with gr.Accordion("🎈 Info", open=False):
|
| 280 |
gr.Markdown(
|
| 281 |
f"""<h5><center>{Path(model_loc).name}</center></h4>
|
| 282 |
-
|
| 283 |
-
You probably should try to test
|
| 284 |
-
some related prompts.""",
|
| 285 |
elem_classes="xsmall",
|
| 286 |
)
|
| 287 |
|
|
|
|
| 54 |
"""
|
| 55 |
prompt_template = """
|
| 56 |
[INST] Write code to solve the following coding problem that obeys the constraints and
|
| 57 |
+
passes the example test cases. Please wrap your code answer using ```:
|
| 58 |
+
|
| 59 |
{question}
|
| 60 |
[/INST]
|
| 61 |
"""
|
|
|
|
| 280 |
with gr.Accordion("🎈 Info", open=False):
|
| 281 |
gr.Markdown(
|
| 282 |
f"""<h5><center>{Path(model_loc).name}</center></h4>
|
| 283 |
+
Doesn't quite work -- no output or run forever.""",
|
|
|
|
|
|
|
| 284 |
elem_classes="xsmall",
|
| 285 |
)
|
| 286 |
|