import gradio as gr import os from dotenv import load_dotenv load_dotenv() def get_markdown(registry): with open(registry,"r") as f: return f.read() def get_interface(md): code = "import" + md.split("import")[2].split(".launch")[0] return code # need to match the filenames in the regesteries folder possible_registries = ["gemini-gradio","openai-gradio"] with gr.Blocks(fill_height=False, fill_width=False) as demo : gr.Markdown("