import gradio as gr import base64 # Base64 encoded Indian flag SVG with enhanced animation flag_svg = ''' ''' encoded_flag = base64.b64encode(flag_svg.encode('utf-8')).decode('utf-8') html = f'''
Animated Indian Flag
''' def show_flag(): return html iface = gr.Interface( fn=show_flag, inputs=[], outputs=gr.HTML(), title="Happy 78th Independence Day", #description=" Happy 78th Independence Day." ) if __name__ == "__main__": iface.launch()