Update app.py
Browse files
app.py
CHANGED
@@ -234,7 +234,7 @@ def generate_pdf(image_path: str, analysis_text: str, persona: str) -> str:
|
|
234 |
print(f"PDF generation error: {str(e)}")
|
235 |
return None
|
236 |
|
237 |
-
def upload_to_github(file_path:
|
238 |
try:
|
239 |
if not file_path:
|
240 |
return "Error: No PDF file generated"
|
|
|
234 |
print(f"PDF generation error: {str(e)}")
|
235 |
return None
|
236 |
|
237 |
+
def upload_to_github(file_path: str) -> str:
|
238 |
try:
|
239 |
if not file_path:
|
240 |
return "Error: No PDF file generated"
|