import os import gradio as gr app = gr.load(name="MuntasirHossain/RAG-PDF-Chatbot", hf_token = os.getenv("HF_TOKEN"), src="spaces") app.queue().launch() # with gr.Blocks() as app: # gr.load("MuntasirHossain/RAG-PDF-Chatbot", hf_token=os.getenv("HF_TOKEN"), src="spaces").render() # app.queue().launch()