aidevhund commited on
Commit
9fbdefb
·
verified ·
1 Parent(s): dd0ac6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: Optional[str]) -> str:
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"