Spaces:
Running
on
Zero
Running
on
Zero
add dort
Browse files
app.py
CHANGED
@@ -1919,6 +1919,7 @@ def make_input_images_section(rows=1, cols=3, height="450px", advanced=False, is
|
|
1919 |
profiles = [p for p in profiles if not p.startswith(".")]
|
1920 |
if len(profiles) == 0:
|
1921 |
return "No profiles found."
|
|
|
1922 |
profile_text = "</br>".join(profiles)
|
1923 |
n_files = len(profiles)
|
1924 |
profile_text = f"Number of profiles: {n_files}</br>---------</br>" + profile_text
|
|
|
1919 |
profiles = [p for p in profiles if not p.startswith(".")]
|
1920 |
if len(profiles) == 0:
|
1921 |
return "No profiles found."
|
1922 |
+
profiles = sorted(profiles)
|
1923 |
profile_text = "</br>".join(profiles)
|
1924 |
n_files = len(profiles)
|
1925 |
profile_text = f"Number of profiles: {n_files}</br>---------</br>" + profile_text
|