Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -7,7 +7,7 @@ import glob
|
|
7 |
|
8 |
def main(file_path, analysis_level='basic', writting_style='academic', word_lower_limit=100, word_upper_limit = 150, gender = "female", speed = "fast", number_of_images = 3, detail_level="short", perspective="neutral", emotion="sad", time_setting="classic", art_style="realistic", style="anime", color_palette="monochrome"):
|
9 |
# Lấy danh sách tất cả các tệp .txt và .mp3 trong thư mục hiện tại
|
10 |
-
files_to_delete = glob.glob("*.txt") + glob.glob("*.mp3")
|
11 |
|
12 |
# Xóa tất cả các tệp trừ "requirements.txt"
|
13 |
for file in files_to_delete:
|
|
|
7 |
|
8 |
def main(file_path, analysis_level='basic', writting_style='academic', word_lower_limit=100, word_upper_limit = 150, gender = "female", speed = "fast", number_of_images = 3, detail_level="short", perspective="neutral", emotion="sad", time_setting="classic", art_style="realistic", style="anime", color_palette="monochrome"):
|
9 |
# Lấy danh sách tất cả các tệp .txt và .mp3 trong thư mục hiện tại
|
10 |
+
files_to_delete = glob.glob("*.txt") + glob.glob("*.mp3") + glob.glob("*.png")
|
11 |
|
12 |
# Xóa tất cả các tệp trừ "requirements.txt"
|
13 |
for file in files_to_delete:
|