Update app.py
Browse files
app.py
CHANGED
@@ -21,14 +21,14 @@ import edge_tts
|
|
21 |
|
22 |
# -------------------- Configuration --------------------
|
23 |
st.set_page_config(
|
24 |
-
page_title="π²
|
25 |
page_icon="π²π",
|
26 |
layout="wide",
|
27 |
initial_sidebar_state="auto",
|
28 |
menu_items={
|
29 |
'Get Help': 'https://huggingface.co/awacke1',
|
30 |
'Report a bug': 'https://huggingface.co/spaces/awacke1',
|
31 |
-
'About': "π²
|
32 |
}
|
33 |
)
|
34 |
load_dotenv()
|
@@ -114,7 +114,7 @@ def clean_text_for_filename(text: str) -> str:
|
|
114 |
return '_'.join(filtered)[:200]
|
115 |
|
116 |
def generate_filename(prompt, response, file_type="md"):
|
117 |
-
prefix = datetime.now().strftime("%
|
118 |
combined = (prompt + " " + response).strip()
|
119 |
info_terms = get_high_info_terms(combined)
|
120 |
|
|
|
21 |
|
22 |
# -------------------- Configuration --------------------
|
23 |
st.set_page_config(
|
24 |
+
page_title="π²CCCGπ Code Competition Claude vs GPT",
|
25 |
page_icon="π²π",
|
26 |
layout="wide",
|
27 |
initial_sidebar_state="auto",
|
28 |
menu_items={
|
29 |
'Get Help': 'https://huggingface.co/awacke1',
|
30 |
'Report a bug': 'https://huggingface.co/spaces/awacke1',
|
31 |
+
'About': "π²CCCGπ Code Competition Claude vs GPT"
|
32 |
}
|
33 |
)
|
34 |
load_dotenv()
|
|
|
114 |
return '_'.join(filtered)[:200]
|
115 |
|
116 |
def generate_filename(prompt, response, file_type="md"):
|
117 |
+
prefix = datetime.now().strftime("%m%d_%H%M") + "_"
|
118 |
combined = (prompt + " " + response).strip()
|
119 |
info_terms = get_high_info_terms(combined)
|
120 |
|