Update app.py
Browse files
app.py
CHANGED
|
@@ -580,7 +580,7 @@ def _(GenParams, ModelInference, ast, client, llm_parameters, selected_model):
|
|
| 580 |
|
| 581 |
@app.cell
|
| 582 |
def _(mo):
|
| 583 |
-
prompt_template_folders = get_subfolder_paths("
|
| 584 |
prompt_template_model_paths = mo.ui.dropdown(options=prompt_template_folders, label="Prompt Template Variants *(Select Based on your Model)*")
|
| 585 |
return (prompt_template_model_paths,)
|
| 586 |
|
|
|
|
| 580 |
|
| 581 |
@app.cell
|
| 582 |
def _(mo):
|
| 583 |
+
prompt_template_folders = get_subfolder_paths("./prompt_templates", depth=1)
|
| 584 |
prompt_template_model_paths = mo.ui.dropdown(options=prompt_template_folders, label="Prompt Template Variants *(Select Based on your Model)*")
|
| 585 |
return (prompt_template_model_paths,)
|
| 586 |
|