Update app.py
Browse files
app.py
CHANGED
@@ -450,10 +450,7 @@ def upload_pdf(files):
|
|
450 |
# Entfernen der vorhandenen Datei, falls sie existiert
|
451 |
if os.path.exists(upload_path):
|
452 |
os.remove(upload_path)
|
453 |
-
print("altes File removed.................")
|
454 |
|
455 |
-
print("file.name.............."+str(file.name))
|
456 |
-
print("upload_path.............."+str(upload_path))
|
457 |
# Datei zum Hugging Face Space hochladen
|
458 |
upload_file_to_huggingface(file.name, upload_path)
|
459 |
|
|
|
450 |
# Entfernen der vorhandenen Datei, falls sie existiert
|
451 |
if os.path.exists(upload_path):
|
452 |
os.remove(upload_path)
|
|
|
453 |
|
|
|
|
|
454 |
# Datei zum Hugging Face Space hochladen
|
455 |
upload_file_to_huggingface(file.name, upload_path)
|
456 |
|