In the Name of Allah, Most Gracious, Most Merciful.
All praise and thanks are due to Allah, and peace and blessings be upon His Messenger.
In this fatwa:
Answering your question, Dar Al-Ifta Al-Misriyyah, states:
According to the practice of generations of Muslims from among the predecessors and successors, the mere presence of males and females in the same place is not prohibited in itself.
Rather, the prohibition concerns the manner of their gathering if it contradicts the rulings of Islamic law. This includes, for example, women uncovering what they have been commanded to cover in Islamic law, gathering to commit an abominable act or sitting in unlawful privacy with the opposite sex.
It is permissible to attend such gatherings and none will be blameworthy except whoever exceeds the limits of Islamic law. However, it is impermissible to attend if one fears temptation.
Almighty Allah knows best.