testSpace / processing.py
Xaot6's picture
Create processing.py
d6edc16 verified
raw
history blame
309 Bytes
import time
def process_file(file):
if file is not None:
status = "Processing"
# Simulate some processing (replace with actual processing logic)
time.sleep(2) # Simulate processing time
status = "Finished"
return status, file
return "No file uploaded.", None