Tunisian president makes public appearance after leaving hospital