RAG-PDF-Chatbot / app.py
MuntasirHossain's picture
Update app.py
5a6dca8 verified
raw
history blame
309 Bytes
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()