Arafath10 commited on
Commit
00a8453
·
verified ·
1 Parent(s): 92199f9

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -59,6 +59,6 @@ async def get_data(url: str):
59
  return data
60
  except Exception as e:
61
  raise HTTPException(status_code=500, detail=str(e))
62
- esle:
63
  return return {"title": title, "URL": links, "Content": text_content}
64
 
 
59
  return data
60
  except Exception as e:
61
  raise HTTPException(status_code=500, detail=str(e))
62
+ else:
63
  return return {"title": title, "URL": links, "Content": text_content}
64