fix: pdfs directory for url
Browse files
app.py
CHANGED
@@ -155,7 +155,7 @@ def add_certified_user(hf_username, first_name, last_name, certificate_type):
|
|
155 |
if not check.empty:
|
156 |
history = history.drop(labels=check.index[0], axis=0)
|
157 |
|
158 |
-
pdfs_repo_path = os.path.join("data", "
|
159 |
|
160 |
# Copy the PDF from its current location to the target directory in the repository
|
161 |
pdf_repo_filename = f"{hf_username}.pdf" # Create a specific name for the PDF file
|
|
|
155 |
if not check.empty:
|
156 |
history = history.drop(labels=check.index[0], axis=0)
|
157 |
|
158 |
+
pdfs_repo_path = os.path.join("data", "certificates")
|
159 |
|
160 |
# Copy the PDF from its current location to the target directory in the repository
|
161 |
pdf_repo_filename = f"{hf_username}.pdf" # Create a specific name for the PDF file
|