import gradio as gr def create_iframe(url): return f""" """ with gr.Blocks(fill_height=True) as demo: # เพิ่มกล่องแจ้งเตือน (Alert Box) พื้นหลังสีแดงอ่อน ขอบแดง และตัวหนังสือสีแดง gr.HTML("""
If you still have ZEROGPU quota but cannot click run, please go to the space directly from the UI. Look for the model name in orange and blue within the UI to navigate directly to the space.
""") with gr.Tabs(): with gr.Tab("omni-image-editor (apifreetokenavreyday)"): gr.HTML(create_iframe("https://selfit-camera-omni-image-editor.hf.space")) with gr.Tab("FireRed 1.0 (macgaga)"): gr.HTML(create_iframe("https://macgaga-firered-image-edit-1-0-fast.hf.space")) with gr.Tab("FireRed 1.0 (Svngoku)"): gr.HTML(create_iframe("https://svngoku-firered-image-edit-1-0-fast.hf.space")) with gr.Tab("FireRed 1.1 (WarlordHermes)"): gr.HTML(create_iframe("https://warlordhermes-firered-image-edit-1-1-fast.hf.space")) with gr.Tab("FireRed Image Edit 1.1 Fast(Bianji (fdsgsfjsfg)"): gr.HTML(create_iframe("https://fdsgsfjsfg-bianji.hf.space")) if __name__ == "__main__": demo.launch()