Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,9 @@ def get_download_link(file_path):
|
|
73 |
def generate_unique_id():
|
74 |
timestamp = datetime.utcnow().strftime('%Y%m%d%H%M%S%f')
|
75 |
unique_uuid = str(uuid.uuid4())
|
76 |
-
|
|
|
|
|
77 |
|
78 |
# 📝 Generate a filename - Naming files like a pro (or a very confused librarian)
|
79 |
def generate_filename(prompt, file_type):
|
|
|
73 |
def generate_unique_id():
|
74 |
timestamp = datetime.utcnow().strftime('%Y%m%d%H%M%S%f')
|
75 |
unique_uuid = str(uuid.uuid4())
|
76 |
+
returnValue = f"{timestamp}-{unique_uuid}"
|
77 |
+
st.write('New Unique ID:' + returnValue)
|
78 |
+
return
|
79 |
|
80 |
# 📝 Generate a filename - Naming files like a pro (or a very confused librarian)
|
81 |
def generate_filename(prompt, file_type):
|