Update app.py
Browse files
app.py
CHANGED
@@ -1961,13 +1961,7 @@ with gr.Blocks() as demo:
|
|
1961 |
for template_key in PROJECT_TEMPLATES:
|
1962 |
if "params" in PROJECT_TEMPLATES[template_key]:
|
1963 |
for param_name in template_params_ui:
|
1964 |
-
if param_name in
|
1965 |
-
Use code with caution.
|
1966 |
-
Python
|
1967 |
-
57.3s
|
1968 |
-
kontynuuj
|
1969 |
-
|
1970 |
-
PROJECT_TEMPLATES[template_key]["params"]:
|
1971 |
input_components.append(template_params_ui[param_name])
|
1972 |
def show_hide_input_fields(action_name):
|
1973 |
visibility_map = {
|
|
|
1961 |
for template_key in PROJECT_TEMPLATES:
|
1962 |
if "params" in PROJECT_TEMPLATES[template_key]:
|
1963 |
for param_name in template_params_ui:
|
1964 |
+
if param_name in PROJECT_TEMPLATES[template_key]["params"]:
|
|
|
|
|
|
|
|
|
|
|
|
|
1965 |
input_components.append(template_params_ui[param_name])
|
1966 |
def show_hide_input_fields(action_name):
|
1967 |
visibility_map = {
|