Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,35 +1,57 @@
|
|
| 1 |
# APP_PATCH_NOTE_SPEED_MFDS_BATCH_OFF = "์ ์ฒด ์คํฌ๋ฆฌ๋ ์๋ ์๊ธํจ์น: MFDS ์ค์๊ฐ ์กฐํ ๋ฐฐ์น ๋นํ์ฑํ + ๋งค์นญ ์บ์"
|
| 2 |
# APP_PATCH_NOTE_LIMIT_POSITIVE_MFDS = "Positive List ํ๋ํ์ธ + MFDS ์ ํ ํ์ฑ ๋ณด๊ฐ ์ ์ฉ๋ณธ"
|
|
|
|
| 3 |
# ============================================================
|
| 4 |
-
# reBom Regulatory Screening AI -
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
# - ๊ตญ๊ฐ/์ฑ๋ ํด๋ ์๋ ์ธ์
|
| 6 |
# - ๊ท์ ํ์ผ ์๋ ๋ณ๊ฒฝ ๊ฐ์ง
|
| 7 |
-
# - ๊ตญ๊ฐ๋ณ
|
| 8 |
-
# - ๊ตญ๊ฐ๋ณ
|
| 9 |
-
# - ๋ก์ปฌ ๊ท์น ์ฐ์ ํ์
|
| 10 |
-
# - MFDS ์์ฝํ์์ ๋๋ผ ์์ธ DB ์์
์ฐ๋
|
| 11 |
-
# - GPT ํธ์ถ ์ ์๋ฏธ ์๋ ๊ฒ์๊ฒฐ๊ณผ ํํฐ๋ง
|
| 12 |
# - Formula Ingredients Statement ์๋ณธ ์์ ์ถ๋ ฅ
|
| 13 |
# - ๋ฌธ์ ์ฑ๋ถ๋ง Regulatory Screening Summary ์ถ๋ ฅ
|
| 14 |
-
# - Raw Search Log ๋ณ๋ ์ ์ฅ
|
| 15 |
# - Gradio ๋ก๊ทธ์ธ ์ธ์ฆ / public share link ์ ์ฉ
|
| 16 |
# - MergedCell column_letter ์ค๋ฅ ์์ ์๋ฃ
|
| 17 |
# - ์์
์ ์ฑ๋ถ ์ ์ฒด ์คํฌ๋ฆฌ๋
|
| 18 |
# - ๋จ์ผ ์ฑ๋ถ ๊ฒ์
|
| 19 |
-
# - ์ ์ฒด ์คํฌ๋ฆฌ๋: MFDS
|
| 20 |
-
# - ๋จ์ผ ์ฑ๋ถ ๊ฒ์
|
| 21 |
-
# - ๊ตญ๊ฐ๋ณ ๊ท์ ํด๋ ๊ฒ์
|
| 22 |
-
# - FAISS ๋์คํฌ ์บ์
|
| 23 |
-
# - ํฅ๋ฃ๋ ์ ๊ตญ๊ฐ ํ์ธ ํ์
|
| 24 |
-
# - ์ ์ ์ / Water / Aqua๋ ์ ๊ตญ๊ฐ ๊ธฐ๋ณธ Pass
|
| 25 |
-
# - ๊ตญ๊ฐ๋ณ ํต์ฌ ๊ธ์ง/์ ํ ์ฑ๋ถ์ GPT/RAG๋ณด๋ค ์ฐ์ ํ์
|
| 26 |
-
# - Tranexamic Acid๋ ์ผ๋ณธ ๋ฐฐํฉ๊ธ์ง ์ฐ์ ์ฒ๋ฆฌ
|
| 27 |
-
# - ๊ณ ์ํ ์ฑ๋ถ Pass ์๋ ๋ฐฉ์ง
|
| 28 |
-
# - Formular Ingredients Statement ์์ ์ถ๋ ฅ
|
| 29 |
# - ์๋ณธ TOTAL ํ ์ ๊ฑฐ ํ ์ TOTAL ํ 1๊ฐ๋ง ์์ฑ
|
| 30 |
-
#
|
| 31 |
-
#
|
| 32 |
-
# -
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
# ============================================================
|
| 34 |
|
| 35 |
# reBom Regulatory Screening AI - compact full app.py
|
|
@@ -75,6 +97,19 @@ REG_INDEX_CACHE_DIR = ".reg_index_cache"
|
|
| 75 |
NO_EVIDENCE_TEXT = "ํด๋น ์๋ฃ ๋ด ์ ํ ๊ทผ๊ฑฐ ์์"
|
| 76 |
NEED_CHECK_TEXT = "ํ์ธ ํ์"
|
| 77 |
LIMIT_CHECK_TEXT = "๋ฐฐํฉํ๋ ํ์ธ ํ์"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
|
| 79 |
# ============================================================
|
| 80 |
# SOURCE_ONLY_MODE
|
|
@@ -3946,6 +3981,357 @@ def process_single_ingredient_with_auth(user, countries, single_query, single_am
|
|
| 3946 |
)
|
| 3947 |
|
| 3948 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3949 |
with gr.Blocks(css=custom_css) as demo:
|
| 3950 |
current_user = gr.State({})
|
| 3951 |
gr.Markdown("# ๐ reBom")
|
|
|
|
| 1 |
# APP_PATCH_NOTE_SPEED_MFDS_BATCH_OFF = "์ ์ฒด ์คํฌ๋ฆฌ๋ ์๋ ์๊ธํจ์น: MFDS ์ค์๊ฐ ์กฐํ ๋ฐฐ์น ๋นํ์ฑํ + ๋งค์นญ ์บ์"
|
| 2 |
# APP_PATCH_NOTE_LIMIT_POSITIVE_MFDS = "Positive List ํ๋ํ์ธ + MFDS ์ ํ ํ์ฑ ๋ณด๊ฐ ์ ์ฉ๋ณธ"
|
| 3 |
+
# APP_PATCH_NOTE_SOURCE_ONLY_STRICT_V3 = "์
๋ก๋ ๊ตญ๊ฐ๋ณ ํ์ผ ์ง์ ๊ทผ๊ฑฐ ์ ์ฉ ๋ชจ๋ + ํ๋์ฝ๋ฉ ํ๋/๊ธ์ง ์๋ํ์ ์ฐจ๋จ"
|
| 4 |
# ============================================================
|
| 5 |
+
# reBom Regulatory Screening AI - Source Only Strict Version
|
| 6 |
+
# ============================================================
|
| 7 |
+
# ํต์ฌ ๋ชฉ์
|
| 8 |
+
# - ์ฌ์ฉ์๊ฐ ์
๋ก๋ํ ๊ตญ๊ฐ๋ณ ๊ท์ ํ์ผ์์ ์ง์ ํ์ธ๋ ๊ทผ๊ฑฐ๋ง ๊ธฐ์ค์ผ๋ก ์คํฌ๋ฆฌ๋
|
| 9 |
+
# - ์
๋ก๋ ํ์ผ์ ์๋ ๋ฐฐํฉํ๋/๊ธ์ง์ฌํญ ์๋ ์์ฑ ๋ฐฉ์ง
|
| 10 |
+
# - ๋ฌธ์ ์๋ ์ฑ๋ถ์ด ๊ธ์ง์ฑ๋ถ ๋๋ ํ๋์ฑ๋ถ์ผ๋ก ์คํ์ ๋๋ ๋ฌธ์ ๋ฐฉ์ง
|
| 11 |
+
# - Positive List๋ ๊ธฐ๋ณธ์ ์ผ๋ก ํ์ฉ๋ชฉ๋ก์ผ๋ก ์ฒ๋ฆฌ
|
| 12 |
+
# - Positive List์ ์ฑ๋ถ๋ช
์ด ์์ด๋ ๋ช
ํํ ํ๋ ์์น๊ฐ ์์ผ๋ฉด ๋ฌธ์ ์ฑ๋ถ์ผ๋ก ์ฒ๋ฆฌํ์ง ์์
|
| 13 |
+
# - ๊ธ์ง/์ ํ ๋ฌธ๊ตฌ๊ฐ ๋ช
ํํ์ง ์์ผ๋ฉด Pass ๋๋ ํด๋น ์๋ฃ ๋ด ์ ํ ๊ทผ๊ฑฐ ์์ ์ฒ๋ฆฌ
|
| 14 |
+
#
|
| 15 |
+
# ์ฃผ์ ๊ธฐ๋ฅ
|
| 16 |
# - ๊ตญ๊ฐ/์ฑ๋ ํด๋ ์๋ ์ธ์
|
| 17 |
# - ๊ท์ ํ์ผ ์๋ ๋ณ๊ฒฝ ๊ฐ์ง
|
| 18 |
+
# - ๊ตญ๊ฐ๋ณ ๊ท์ ํด๋ ๊ฒ์
|
| 19 |
+
# - ๊ตญ๊ฐ๋ณ ํ์ผ row/line ์ง์ ๊ฒ์
|
|
|
|
|
|
|
|
|
|
| 20 |
# - Formula Ingredients Statement ์๋ณธ ์์ ์ถ๋ ฅ
|
| 21 |
# - ๋ฌธ์ ์ฑ๋ถ๋ง Regulatory Screening Summary ์ถ๋ ฅ
|
| 22 |
+
# - Raw Search Log / Evidence Log ๋ณ๋ ์ ์ฅ
|
| 23 |
# - Gradio ๋ก๊ทธ์ธ ์ธ์ฆ / public share link ์ ์ฉ
|
| 24 |
# - MergedCell column_letter ์ค๋ฅ ์์ ์๋ฃ
|
| 25 |
# - ์์
์ ์ฑ๋ถ ์ ์ฒด ์คํฌ๋ฆฌ๋
|
| 26 |
# - ๋จ์ผ ์ฑ๋ถ ๊ฒ์
|
| 27 |
+
# - ์ ์ฒด ์คํฌ๋ฆฌ๋: MFDS ์ค์๊ฐ ์กฐํ ๋ฐฐ์น ๋นํ์ฑํ
|
| 28 |
+
# - ๋จ์ผ ์ฑ๋ถ ๊ฒ์: ์ ํ ์ MFDS ์ค์๊ฐ ์กฐํ ์ฌ์ฉ ๊ฐ๋ฅ
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
# - ์๋ณธ TOTAL ํ ์ ๊ฑฐ ํ ์ TOTAL ํ 1๊ฐ๋ง ์์ฑ
|
| 30 |
+
#
|
| 31 |
+
# SOURCE_ONLY_MODE=True ๊ธฐ์ค ํ์ ์์น
|
| 32 |
+
# - ์
๋ก๋ ํ์ผ์์ ๊ธ์ง ๊ทผ๊ฑฐ ์ง์ ํ์ธ๋จ -> ๋ฐฐํฉ๊ธ์ง
|
| 33 |
+
# - ์
๋ก๋ ํ์ผ์์ ์ ํ/ํ๋ ๊ทผ๊ฑฐ ์ง์ ํ์ธ๋จ -> ๋ฐฐํฉํ๋ ๋๋ ํ์ธ ํ์
|
| 34 |
+
# - Positive List์ ์ฑ๋ถ๋ช
๋ง ์์ -> Pass
|
| 35 |
+
# - ํ์ผ์ ์ฑ๋ถ๋ช
๋ง ์๊ณ ๊ธ์ง/์ ํ ๊ทผ๊ฑฐ ์์ -> Pass
|
| 36 |
+
# - ์
๋ก๋ ํ์ผ์ ์ฑ๋ถ๋ช
์ง์ ๊ทผ๊ฑฐ ์์ -> ํด๋น ์๋ฃ ๋ด ์ ํ ๊ทผ๊ฑฐ ์์
|
| 37 |
+
#
|
| 38 |
+
# SOURCE_ONLY_MODE=True์์ ๋นํ์ฑํ๋๋ ๊ธฐ์กด ์๋ํ์
|
| 39 |
+
# - ๋ก์ปฌ ๊ท์น ์ฐ์ ํ์ ๋นํ์ฑํ
|
| 40 |
+
# - UV_FILTER_RULES ์๋ ํ๋ํ์ ๋นํ์ฑํ
|
| 41 |
+
# - PRESERVATIVE_RULES ์๋ ํ๋ํ์ ๋นํ์ฑํ
|
| 42 |
+
# - FUNCTIONAL_KOREA_RULES ์๋ ๊ธฐ๋ฅ์ฑ ํ์ธ ๋นํ์ฑํ
|
| 43 |
+
# - CRITICAL_COUNTRY_RULES ์๋ ๊ธ์ง/์ ํ ํ์ ๋นํ์ฑํ
|
| 44 |
+
# - Tranexamic Acid ์ผ๋ณธ ๋ฐฐํฉ๊ธ์ง ํ๋์ฝ๋ฉ ์ฐ์ ์ฒ๋ฆฌ ๋นํ์ฑํ
|
| 45 |
+
# - ํฅ๋ฃ ์๋ ํ์ธ ํ์ ์ฒ๋ฆฌ ๋นํ์ฑํ
|
| 46 |
+
# - ๊ณ ์ํ ์ฑ๋ถ ์๋ ํ์ธ ํ์ ์ฒ๋ฆฌ ๋นํ์ฑํ
|
| 47 |
+
#
|
| 48 |
+
# ์ ์ง๋๋ ๊ธฐ๋ณธ ์์ธ
|
| 49 |
+
# - ์ ์ ์ / Water / Aqua๋ ์ ๊ตญ๊ฐ ๊ธฐ๋ณธ Pass
|
| 50 |
+
#
|
| 51 |
+
# ์ค์ํ ์ฃผ์์ฌํญ
|
| 52 |
+
# - ์ด ๋ฒ์ ์ "์
๋ก๋ํ ํ์ผ ๊ทผ๊ฑฐ๋ง" ๋ณด๋ ๊ฒ์ ์ฐ์ ํ๋ค.
|
| 53 |
+
# - ๋ฐ๋ผ์ ์
๋ก๋ ํ์ผ์ ํน์ ์ฑ๋ถ์ ํ๋/๊ธ์ง ๊ทผ๊ฑฐ๊ฐ ์์ผ๋ฉด ์๋์ผ๋ก ํ๋๋ ๊ธ์ง๋ฅผ ๋ง๋ค์ง ์๋๋ค.
|
| 54 |
+
# - ๊ตญ๊ฐ๋ณ ๊ท์ ํ์ผ๋ช
๋๋ ์ํธ๋ช
์ ๊ธ์ง/์ ํ/Positive List ๊ตฌ๋ถ์ด ๋ช
ํํด์ผ ํ์ ์ ํ๋๊ฐ ๋๋ค.
|
| 55 |
# ============================================================
|
| 56 |
|
| 57 |
# reBom Regulatory Screening AI - compact full app.py
|
|
|
|
| 97 |
NO_EVIDENCE_TEXT = "ํด๋น ์๋ฃ ๋ด ์ ํ ๊ทผ๊ฑฐ ์์"
|
| 98 |
NEED_CHECK_TEXT = "ํ์ธ ํ์"
|
| 99 |
LIMIT_CHECK_TEXT = "๋ฐฐํฉํ๋ ํ์ธ ํ์"
|
| 100 |
+
# ============================================================
|
| 101 |
+
# Source Only Strict Mode
|
| 102 |
+
# ============================================================
|
| 103 |
+
# True:
|
| 104 |
+
# - ์
๋ก๋ํ ๊ตญ๊ฐ๋ณ ๊ท์ ํ์ผ์์ ์ง์ ํ์ธ๋ ๊ทผ๊ฑฐ๋ง ์ฌ์ฉ
|
| 105 |
+
# - ํ๋์ฝ๋ฉ ํ๋/๊ธ์ง/๊ธฐ๋ฅ์ฑ/ํฅ๋ฃ ์๋ํ์ ์ฐจ๋จ
|
| 106 |
+
# - ์
๋ก๋ ๏ฟฝ๏ฟฝ๏ฟฝ์ผ์ ์๋ ๋ฐฐํฉํ๋/๊ธ์ง์ฌํญ ์์ฑ ๋ฐฉ์ง
|
| 107 |
+
SOURCE_ONLY_MODE = True
|
| 108 |
+
|
| 109 |
+
# Positive List๋ ๊ธฐ๋ณธ์ ์ผ๋ก ํ์ฉ๋ชฉ๋ก์ผ๋ก ๋ณธ๋ค.
|
| 110 |
+
# ๋ช
ํํ ํ๋ ์์น๊ฐ ์์ ๋๋ง ๋ฐฐํฉํ๋๋ก ํ์ํ๊ณ ,
|
| 111 |
+
# ์ฑ๋ถ๋ช
๋ง ๋ฑ์ฌ๋์ด ์์ผ๋ฉด Pass ์ฒ๋ฆฌํ๋ค.
|
| 112 |
+
TREAT_POSITIVE_LIST_AS_PASS = True
|
| 113 |
|
| 114 |
# ============================================================
|
| 115 |
# SOURCE_ONLY_MODE
|
|
|
|
| 3981 |
)
|
| 3982 |
|
| 3983 |
|
| 3984 |
+
|
| 3985 |
+
# ============================================================
|
| 3986 |
+
# SOURCE ONLY STRICT PATCH v3
|
| 3987 |
+
# ๋ชฉ์ :
|
| 3988 |
+
# - ์
๋ก๋ํ ๊ตญ๊ฐ๋ณ ํ์ผ์์ ์ง์ ํ์ธ๋ ๊ทผ๊ฑฐ๋ง ์ฌ์ฉ
|
| 3989 |
+
# - ํ๋์ฝ๋ฉ UV/๋ณด์กด์ /๊ธฐ๋ฅ์ฑ/ํฅ๋ฃ/critical ๊ท์น ์๋ํ์ ์ฐจ๋จ
|
| 3990 |
+
# - ๋ง์ง๋ง ํ ์์ฑ ๋จ๊ณ์์ ์ฑ๋ถ๋ช
๋ง ๋ณด๊ณ ํ๋ ์ฌ์์ฑ๋๋ ๋ฌธ์ ์ฐจ๋จ
|
| 3991 |
+
# - Positive List๋ ํ๋ ์์น๊ฐ ๋ช
ํํ ๋๋ง ํ๋ ํ์, ์๋๋ฉด Pass
|
| 3992 |
+
# - ๊ธ์ง/์ ํ ๋ฌธ๊ตฌ๊ฐ ๋ช
ํํ์ง ์์ผ๋ฉด ๋ฌธ์ ์ฑ๋ถ์ผ๋ก ๋ง๋ค์ง ์์
|
| 3993 |
+
# ============================================================
|
| 3994 |
+
|
| 3995 |
+
SOURCE_ONLY_MODE = True
|
| 3996 |
+
TREAT_POSITIVE_LIST_AS_PASS = True
|
| 3997 |
+
|
| 3998 |
+
STRICT_PROHIBITED_TERMS = [
|
| 3999 |
+
"๋ฐฐํฉ๊ธ์ง", "์ฌ์ฉ๊ธ์ง", "์ฌ์ฉ ๊ธ์ง", "๊ธ์ง์๋ฃ", "๊ธ์ง ์๋ฃ", "๊ธ์ง์ฑ๋ถ", "๊ธ์ง ์ฑ๋ถ",
|
| 4000 |
+
"prohibited", "banned", "not allowed", "shall not be used", "must not be used",
|
| 4001 |
+
"shall not contain", "must not contain", "forbidden",
|
| 4002 |
+
]
|
| 4003 |
+
|
| 4004 |
+
STRICT_RESTRICTED_TERMS = [
|
| 4005 |
+
"๋ฐฐํฉํ๋", "๋ฐฐํฉ ํ๋", "์ฌ์ฉํ๋", "์ฌ์ฉ ํ๋", "์ฌ์ฉ์ ํ", "์ฌ์ฉ ์ ํ",
|
| 4006 |
+
"์ ํ์ฌํญ", "์ ํ ์ฌํญ", "์ ํ์ฑ๋ถ", "์ ํ ์ฑ๋ถ",
|
| 4007 |
+
"restricted", "restriction", "maximum concentration", "maximum amount",
|
| 4008 |
+
"max concentration", "not exceeding", "not exceed", "limit",
|
| 4009 |
+
]
|
| 4010 |
+
|
| 4011 |
+
POSITIVE_LIST_TERMS = [
|
| 4012 |
+
"positive list", "ํ์ฉ๋ชฉ๋ก", "ํ์ฉ ๋ชฉ๋ก", "annex iv", "annex v", "annex vi",
|
| 4013 |
+
"coloring agents", "colouring agents", "colorants", "preservatives",
|
| 4014 |
+
"uv filters", "sunscreen agents", "์์", "๋ณด์กด์ ", "๋ฐฉ๋ถ์ ", "์์ธ์ ", "์์ธ์ ์ฐจ๋จ",
|
| 4015 |
+
]
|
| 4016 |
+
|
| 4017 |
+
FALSE_LIMIT_CONTEXT_TERMS = [
|
| 4018 |
+
"label", "labelling", "labeling", "๋ผ๋ฒจ", "ํ์", "warning", "๊ฒฝ๊ณ ",
|
| 4019 |
+
"allergen", "์๋ ๋ฅด๊ฒ", "impurity", "impurities", "๋ถ์๋ฌผ",
|
| 4020 |
+
"test method", "์ํ๋ฒ", "์ํ", "analysis", "๋ถ์", "purity", "์๋",
|
| 4021 |
+
"๊ฒ์ถํ๊ณ", "๊ด๋ฆฌ๊ฐ", "๊ด๋ฆฌ์น", "peroxide value",
|
| 4022 |
+
]
|
| 4023 |
+
|
| 4024 |
+
def _strict_contains_any(text, terms):
|
| 4025 |
+
text = safe_str(text)
|
| 4026 |
+
low = text.lower()
|
| 4027 |
+
compact = normalize_compact(text)
|
| 4028 |
+
for term in terms:
|
| 4029 |
+
t = safe_str(term)
|
| 4030 |
+
if not t:
|
| 4031 |
+
continue
|
| 4032 |
+
if t.lower() in low:
|
| 4033 |
+
return True
|
| 4034 |
+
if normalize_compact(t) and normalize_compact(t) in compact:
|
| 4035 |
+
return True
|
| 4036 |
+
return False
|
| 4037 |
+
|
| 4038 |
+
def _strict_component_match_in_record(record_text, terms):
|
| 4039 |
+
record_text = safe_str(record_text)
|
| 4040 |
+
if not record_text:
|
| 4041 |
+
return False
|
| 4042 |
+
for term in terms:
|
| 4043 |
+
term = safe_str(term)
|
| 4044 |
+
if not term:
|
| 4045 |
+
continue
|
| 4046 |
+
if len(normalize_compact(term)) < 3:
|
| 4047 |
+
continue
|
| 4048 |
+
if is_broad_lookup_term(term):
|
| 4049 |
+
continue
|
| 4050 |
+
if is_cas_like(term):
|
| 4051 |
+
found_cas = re.findall(r"\d{2,7}-\d{2}-\d", record_text)
|
| 4052 |
+
if normalize_compact(term) in [normalize_compact(x) for x in found_cas]:
|
| 4053 |
+
return True
|
| 4054 |
+
continue
|
| 4055 |
+
if exact_ingredient_match(term, record_text):
|
| 4056 |
+
return True
|
| 4057 |
+
return False
|
| 4058 |
+
|
| 4059 |
+
def _strict_get_record_type(country, record):
|
| 4060 |
+
source_file = safe_str(record.get("source_file", ""))
|
| 4061 |
+
sheet = safe_str(record.get("sheet", ""))
|
| 4062 |
+
text = safe_str(record.get("text", ""))
|
| 4063 |
+
meta = f"{source_file}\n{sheet}"
|
| 4064 |
+
meta_low = meta.lower()
|
| 4065 |
+
|
| 4066 |
+
if (
|
| 4067 |
+
"annex ii" in meta_low or "annex_ii" in meta_low or "annex-ii" in meta_low
|
| 4068 |
+
or "negative list" in meta_low or "prohibited" in meta_low or "๊ธ์ง" in meta
|
| 4069 |
+
):
|
| 4070 |
+
return "prohibited"
|
| 4071 |
+
|
| 4072 |
+
if (
|
| 4073 |
+
"annex iii" in meta_low or "annex_iii" in meta_low or "annex-iii" in meta_low
|
| 4074 |
+
or "restricted" in meta_low or "restriction" in meta_low
|
| 4075 |
+
or "์ ํ" in meta or "๋ฐฐํฉํ๋" in meta
|
| 4076 |
+
):
|
| 4077 |
+
return "restricted"
|
| 4078 |
+
|
| 4079 |
+
if (
|
| 4080 |
+
"annex iv" in meta_low or "annex v" in meta_low or "annex vi" in meta_low
|
| 4081 |
+
or "positive" in meta_low or "colorant" in meta_low or "coloring" in meta_low
|
| 4082 |
+
or "colouring" in meta_low or "preservative" in meta_low
|
| 4083 |
+
or "uv filter" in meta_low or "sunscreen" in meta_low
|
| 4084 |
+
or "์์" in meta or "๋ณด์กด์ " in meta or "๋ฐฉ๋ถ์ " in meta or "์์ธ์ " in meta
|
| 4085 |
+
):
|
| 4086 |
+
return "positive"
|
| 4087 |
+
|
| 4088 |
+
if _strict_contains_any(text, STRICT_PROHIBITED_TERMS):
|
| 4089 |
+
return "prohibited"
|
| 4090 |
+
if _strict_contains_any(text, STRICT_RESTRICTED_TERMS):
|
| 4091 |
+
return "restricted"
|
| 4092 |
+
if _strict_contains_any(text, POSITIVE_LIST_TERMS):
|
| 4093 |
+
return "positive"
|
| 4094 |
+
return "unknown"
|
| 4095 |
+
|
| 4096 |
+
def extract_limit_condition_from_context(context):
|
| 4097 |
+
text = safe_str(context)
|
| 4098 |
+
compact = re.sub(r"\s+", " ", text).strip()
|
| 4099 |
+
if not compact:
|
| 4100 |
+
return "", ""
|
| 4101 |
+
if _strict_contains_any(compact, FALSE_LIMIT_CONTEXT_TERMS):
|
| 4102 |
+
return "", ""
|
| 4103 |
+
if not _strict_contains_any(compact, STRICT_RESTRICTED_TERMS):
|
| 4104 |
+
return "", ""
|
| 4105 |
+
|
| 4106 |
+
patterns = [
|
| 4107 |
+
r"([0-9]+(?:\.[0-9]+)?\s*%)",
|
| 4108 |
+
r"([0-9]+(?:\.[0-9]+)?\s*g\s*/\s*100\s*g)",
|
| 4109 |
+
r"([0-9]+(?:\.[0-9]+)?\s*g\s+per\s+100\s*g)",
|
| 4110 |
+
]
|
| 4111 |
+
limits = []
|
| 4112 |
+
for pat in patterns:
|
| 4113 |
+
for m in re.finditer(pat, compact, flags=re.IGNORECASE):
|
| 4114 |
+
v = m.group(1).replace(" ", "")
|
| 4115 |
+
if v not in limits:
|
| 4116 |
+
limits.append(v)
|
| 4117 |
+
|
| 4118 |
+
condition_keywords = [
|
| 4119 |
+
"leave-on", "rinse-off", "oral", "mucosa", "washed away",
|
| 4120 |
+
"๋ณด์กด์ ", "๋ฐฉ๋ถ์ ", "์์ธ์ ", "์์", "์ ๋ง", "๊ตฌ๊ฐ",
|
| 4121 |
+
"์ ํ์ฌํญ", "condition", "์ฌ์ฉ์กฐ๊ฑด", "์ฌ์ฉ ์กฐ๊ฑด",
|
| 4122 |
+
]
|
| 4123 |
+
condition_lines = []
|
| 4124 |
+
for line in [safe_str(x) for x in text.splitlines() if safe_str(x)]:
|
| 4125 |
+
line_low = line.lower()
|
| 4126 |
+
if any(k.lower() in line_low for k in condition_keywords):
|
| 4127 |
+
cleaned = re.sub(r"\s+", " ", line).strip()
|
| 4128 |
+
if cleaned not in condition_lines:
|
| 4129 |
+
condition_lines.append(cleaned)
|
| 4130 |
+
return ", ".join(limits[:5]), " / ".join(condition_lines[:5])[:700]
|
| 4131 |
+
|
| 4132 |
+
def normalize_formula_country_text(text, country_col="", inci_name="", amount_text=""):
|
| 4133 |
+
text = safe_str(text)
|
| 4134 |
+
if not text:
|
| 4135 |
+
return "Pass"
|
| 4136 |
+
if text in ["-", NO_EVIDENCE_TEXT, "Pass", "PASS", "pass"]:
|
| 4137 |
+
return "Pass"
|
| 4138 |
+
if _strict_contains_any(text, STRICT_PROHIBITED_TERMS):
|
| 4139 |
+
return "๋ฐฐํฉ๊ธ์ง"
|
| 4140 |
+
limit_text, condition_text = extract_limit_condition_from_context(text)
|
| 4141 |
+
if limit_text:
|
| 4142 |
+
return f"๋ฐฐํฉํ๋: {limit_text}"
|
| 4143 |
+
if _strict_contains_any(text, STRICT_RESTRICTED_TERMS):
|
| 4144 |
+
return NEED_CHECK_TEXT
|
| 4145 |
+
if _strict_contains_any(text, POSITIVE_LIST_TERMS):
|
| 4146 |
+
return "Pass"
|
| 4147 |
+
if NEED_CHECK_TEXT in text or LIMIT_CHECK_TEXT in text:
|
| 4148 |
+
return NEED_CHECK_TEXT
|
| 4149 |
+
if "ํจ๋ ํ์ธ" in text:
|
| 4150 |
+
return "ํจ๋ ํ์ธ"
|
| 4151 |
+
return "Pass"
|
| 4152 |
+
|
| 4153 |
+
def evaluate_critical_country_rule(country, material, component):
|
| 4154 |
+
if SOURCE_ONLY_MODE:
|
| 4155 |
+
return None
|
| 4156 |
+
return None
|
| 4157 |
+
|
| 4158 |
+
def evaluate_plain_fragrance_rule(country, material, component):
|
| 4159 |
+
if SOURCE_ONLY_MODE:
|
| 4160 |
+
return None
|
| 4161 |
+
return None
|
| 4162 |
+
|
| 4163 |
+
def evaluate_local_rules(country, material, component, ingredient_totals, ingredient_amount_parts):
|
| 4164 |
+
if SOURCE_ONLY_MODE:
|
| 4165 |
+
return None
|
| 4166 |
+
return None
|
| 4167 |
+
|
| 4168 |
+
def evaluate_component_from_uploaded_source_records(country, material, component, target_id=""):
|
| 4169 |
+
terms = source_match_terms_for_component(material, component)
|
| 4170 |
+
representative = (
|
| 4171 |
+
safe_str(component.get("INCI Name", ""))
|
| 4172 |
+
or safe_str(component.get("ํ๊ธ ์ฑ๋ถ๋ช
", ""))
|
| 4173 |
+
or safe_str(component.get("CAS.No", ""))
|
| 4174 |
+
or "-"
|
| 4175 |
+
)
|
| 4176 |
+
if not terms:
|
| 4177 |
+
return None
|
| 4178 |
+
|
| 4179 |
+
records, status = build_country_source_record_index(country)
|
| 4180 |
+
hits = []
|
| 4181 |
+
for rec in records:
|
| 4182 |
+
rec_text = safe_str(rec.get("text", ""))
|
| 4183 |
+
if _strict_component_match_in_record(rec_text, terms):
|
| 4184 |
+
hits.append(rec)
|
| 4185 |
+
|
| 4186 |
+
if not hits:
|
| 4187 |
+
return None
|
| 4188 |
+
|
| 4189 |
+
country_col = display_country(country)
|
| 4190 |
+
prohibited_hits = []
|
| 4191 |
+
restricted_hits = []
|
| 4192 |
+
positive_hits = []
|
| 4193 |
+
unknown_hits = []
|
| 4194 |
+
|
| 4195 |
+
for rec in hits:
|
| 4196 |
+
rec_type = _strict_get_record_type(country, rec)
|
| 4197 |
+
if rec_type == "prohibited":
|
| 4198 |
+
prohibited_hits.append(rec)
|
| 4199 |
+
elif rec_type == "restricted":
|
| 4200 |
+
restricted_hits.append(rec)
|
| 4201 |
+
elif rec_type == "positive":
|
| 4202 |
+
positive_hits.append(rec)
|
| 4203 |
+
else:
|
| 4204 |
+
unknown_hits.append(rec)
|
| 4205 |
+
|
| 4206 |
+
if prohibited_hits:
|
| 4207 |
+
best = prohibited_hits[0]
|
| 4208 |
+
context = safe_str(best.get("text", ""))
|
| 4209 |
+
result = {
|
| 4210 |
+
"๋ํ INCI": representative,
|
| 4211 |
+
"๊ฒฐ๊ณผ": f"{country_col} ์
๋ก๋ ํ์ผ์์ ๊ธ์ง ๊ทผ๊ฑฐ ์ง์ ํ์ธ",
|
| 4212 |
+
"ํ์๋ฌธ๊ตฌ": "๋ฐฐํฉ๊ธ์ง",
|
| 4213 |
+
"๋น๊ณ ": f"[์ถ์ฒํ์ผ: {best.get('source_file', '')}] [row: {best.get('row_index', '')}] {context[:900]}",
|
| 4214 |
+
}
|
| 4215 |
+
log_search_context(target_id, country, component, result["๊ฒฐ๊ณผ"], "STRICT_SOURCE_PROHIBITED", result["๋น๊ณ "])
|
| 4216 |
+
return result
|
| 4217 |
+
|
| 4218 |
+
if restricted_hits:
|
| 4219 |
+
best = restricted_hits[0]
|
| 4220 |
+
context = safe_str(best.get("text", ""))
|
| 4221 |
+
limit_text, condition_text = extract_limit_condition_from_context(context)
|
| 4222 |
+
if limit_text:
|
| 4223 |
+
result = {
|
| 4224 |
+
"๋ํ INCI": representative,
|
| 4225 |
+
"๊ฒฐ๊ณผ": f"{country_col} ์
๋ก๋ ํ์ผ์์ ์ ํ ๊ทผ๊ฑฐ ์ง์ ํ์ธ / ํ๋ {limit_text}" + (f" / ์กฐ๊ฑด: {condition_text}" if condition_text else ""),
|
| 4226 |
+
"ํ์๋ฌธ๊ตฌ": f"๋ฐฐํฉํ๋: {limit_text}",
|
| 4227 |
+
"๋น๊ณ ": f"[์ถ์ฒํ์ผ: {best.get('source_file', '')}] [row: {best.get('row_index', '')}] {context[:900]}",
|
| 4228 |
+
}
|
| 4229 |
+
else:
|
| 4230 |
+
result = {
|
| 4231 |
+
"๋ํ INCI": representative,
|
| 4232 |
+
"๊ฒฐ๊ณผ": f"{country_col} ์
๋ก๋ ํ์ผ์์ ์ ํ ๊ทผ๊ฑฐ ์ง์ ํ์ธ / ํ๋ ์์น ํ์ธ ํ์",
|
| 4233 |
+
"ํ์๋ฌธ๊ตฌ": NEED_CHECK_TEXT,
|
| 4234 |
+
"๋น๊ณ ": f"[์ถ์ฒํ์ผ: {best.get('source_file', '')}] [row: {best.get('row_index', '')}] {context[:900]}",
|
| 4235 |
+
}
|
| 4236 |
+
log_search_context(target_id, country, component, result["๊ฒฐ๊ณผ"], "STRICT_SOURCE_RESTRICTED", result["๋น๊ณ "])
|
| 4237 |
+
return result
|
| 4238 |
+
|
| 4239 |
+
if positive_hits:
|
| 4240 |
+
best = positive_hits[0]
|
| 4241 |
+
context = safe_str(best.get("text", ""))
|
| 4242 |
+
limit_text, condition_text = extract_limit_condition_from_context(context)
|
| 4243 |
+
if limit_text:
|
| 4244 |
+
result = {
|
| 4245 |
+
"๋ํ INCI": representative,
|
| 4246 |
+
"๊ฒฐ๊ณผ": f"{country_col} ํ์ฉ๋ชฉ๋ก์์ ์ฑ๋ถ ์ง์ ํ์ธ / ํ๋ {limit_text}" + (f" / ์กฐ๊ฑด: {condition_text}" if condition_text else ""),
|
| 4247 |
+
"ํ์๋ฌธ๊ตฌ": f"๋ฐฐํฉํ๋: {limit_text}",
|
| 4248 |
+
"๋น๊ณ ": f"[์ถ์ฒํ์ผ: {best.get('source_file', '')}] [row: {best.get('row_index', '')}] {context[:900]}",
|
| 4249 |
+
}
|
| 4250 |
+
log_search_context(target_id, country, component, result["๊ฒฐ๊ณผ"], "STRICT_SOURCE_POSITIVE_LIMIT", result["๋น๊ณ "])
|
| 4251 |
+
return result
|
| 4252 |
+
|
| 4253 |
+
result = {
|
| 4254 |
+
"๋ํ INCI": representative,
|
| 4255 |
+
"๊ฒฐ๊ณผ": NO_EVIDENCE_TEXT,
|
| 4256 |
+
"ํ์๋ฌธ๊ตฌ": "Pass",
|
| 4257 |
+
"๋น๊ณ ": f"ํ์ฉ๋ชฉ๋ก์์ ์ฑ๋ถ๋ช
ํ์ธ. ๋ช
ํํ ๊ธ์ง/์ ํ/ํ๋ ๊ทผ๊ฑฐ ์์. [์ถ์ฒํ์ผ: {best.get('source_file', '')}] [row: {best.get('row_index', '')}] {context[:900]}",
|
| 4258 |
+
}
|
| 4259 |
+
log_search_context(target_id, country, component, result["๊ฒฐ๊ณผ"], "STRICT_SOURCE_POSITIVE_PASS", result["๋น๊ณ "])
|
| 4260 |
+
return result
|
| 4261 |
+
|
| 4262 |
+
best = unknown_hits[0] if unknown_hits else hits[0]
|
| 4263 |
+
context = safe_str(best.get("text", ""))
|
| 4264 |
+
result = {
|
| 4265 |
+
"๋ํ INCI": representative,
|
| 4266 |
+
"๊ฒฐ๊ณผ": NO_EVIDENCE_TEXT,
|
| 4267 |
+
"ํ์๋ฌธ๊ตฌ": "Pass",
|
| 4268 |
+
"๋น๊ณ ": f"์ฑ๋ถ๋ช
์ ์
๋ก๋ ํ์ผ์์ ๋ฐ๊ฒฌ๋์์ผ๋ ๊ธ์ง/์ ํ/ํ๋ ๊ทผ๊ฑฐ ์์. [์ถ์ฒํ์ผ: {best.get('source_file', '')}] [row: {best.get('row_index', '')}] {context[:900]}",
|
| 4269 |
+
}
|
| 4270 |
+
log_search_context(target_id, country, component, result["๊ฒฐ๊ณผ"], "STRICT_SOURCE_NAME_ONLY_PASS", result["๋น๊ณ "])
|
| 4271 |
+
return result
|
| 4272 |
+
|
| 4273 |
+
def evaluate_component_from_country_files_only(country, material, component, target_id=""):
|
| 4274 |
+
country_col = display_country(country)
|
| 4275 |
+
inci_name = safe_str(component.get("INCI Name", ""))
|
| 4276 |
+
korean_name = safe_str(component.get("ํ๊ธ ์ฑ๋ถ๋ช
", ""))
|
| 4277 |
+
cas_no = safe_str(component.get("CAS.No", ""))
|
| 4278 |
+
representative = inci_name or korean_name or cas_no or "-"
|
| 4279 |
+
|
| 4280 |
+
if is_always_pass_component(material, component):
|
| 4281 |
+
result = {
|
| 4282 |
+
"๋ํ INCI": representative if representative != "-" else "Water",
|
| 4283 |
+
"๊ฒฐ๊ณผ": NO_EVIDENCE_TEXT,
|
| 4284 |
+
"ํ์๋ฌธ๊ตฌ": "Pass",
|
| 4285 |
+
"๋น๊ณ ": "์ ์ ์/Water/Aqua ๊ธฐ๋ณธ Pass ์ฒ๋ฆฌ",
|
| 4286 |
+
}
|
| 4287 |
+
log_search_context(target_id, country, component, result["๊ฒฐ๊ณผ"], "ALWAYS_PASS_RULE", result["๋น๊ณ "])
|
| 4288 |
+
return result
|
| 4289 |
+
|
| 4290 |
+
source_result = evaluate_component_from_uploaded_source_records(
|
| 4291 |
+
country=country,
|
| 4292 |
+
material=material,
|
| 4293 |
+
component=component,
|
| 4294 |
+
target_id=target_id,
|
| 4295 |
+
)
|
| 4296 |
+
if source_result is not None:
|
| 4297 |
+
return source_result
|
| 4298 |
+
|
| 4299 |
+
result = {
|
| 4300 |
+
"๋ํ INCI": representative,
|
| 4301 |
+
"๊ฒฐ๊ณผ": NO_EVIDENCE_TEXT,
|
| 4302 |
+
"ํ์๋ฌธ๊ตฌ": "Pass",
|
| 4303 |
+
"๋น๊ณ ": "์
๋ก๋๋ ๊ตญ๊ฐ๋ณ ํ์ผ ๋ด ํ์ฌ ์ฑ๋ถ ์ง์ ๊ทผ๊ฑฐ ์์",
|
| 4304 |
+
}
|
| 4305 |
+
log_search_context(target_id, country, component, result["๊ฒฐ๊ณผ"], "STRICT_SOURCE_NO_HIT_PASS", result["๋น๊ณ "])
|
| 4306 |
+
return result
|
| 4307 |
+
|
| 4308 |
+
def is_country_result_issue(text):
|
| 4309 |
+
text = safe_str(text)
|
| 4310 |
+
if not text:
|
| 4311 |
+
return False
|
| 4312 |
+
if text in ["-", NO_EVIDENCE_TEXT, "Pass", "PASS", "pass"]:
|
| 4313 |
+
return False
|
| 4314 |
+
if "ํ์ฉ๋ชฉ๋ก" in text and not _strict_contains_any(text, STRICT_RESTRICTED_TERMS + STRICT_PROHIBITED_TERMS):
|
| 4315 |
+
return False
|
| 4316 |
+
if _strict_contains_any(text, STRICT_PROHIBITED_TERMS):
|
| 4317 |
+
return True
|
| 4318 |
+
if NEED_CHECK_TEXT in text:
|
| 4319 |
+
return True
|
| 4320 |
+
if LIMIT_CHECK_TEXT in text:
|
| 4321 |
+
return True
|
| 4322 |
+
if "ํ๋ ์ด๊ณผ" in text:
|
| 4323 |
+
return True
|
| 4324 |
+
if "๋ถ์ ํฉ" in text or "์ฌ๊ฒํ " in text or "์ฌ์ฉ ๋ถ๊ฐ" in text or "์ฌ์ฉ๋ถ๊ฐ" in text:
|
| 4325 |
+
return True
|
| 4326 |
+
if _strict_contains_any(text, STRICT_RESTRICTED_TERMS):
|
| 4327 |
+
return True
|
| 4328 |
+
return False
|
| 4329 |
+
|
| 4330 |
+
# ============================================================
|
| 4331 |
+
# END SOURCE ONLY STRICT PATCH v3
|
| 4332 |
+
# ============================================================
|
| 4333 |
+
|
| 4334 |
+
|
| 4335 |
with gr.Blocks(css=custom_css) as demo:
|
| 4336 |
current_user = gr.State({})
|
| 4337 |
gr.Markdown("# ๐ reBom")
|