Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ load_dotenv()
|
|
7 |
api_key = os.getenv("OPENAI_API_KEY")
|
8 |
pdf_chatbot = PDFChatBot(api_key)
|
9 |
|
10 |
-
with gr.Blocks(title="RAG chatbot", theme="
|
11 |
|
12 |
def upload_file(file):
|
13 |
return file
|
|
|
7 |
api_key = os.getenv("OPENAI_API_KEY")
|
8 |
pdf_chatbot = PDFChatBot(api_key)
|
9 |
|
10 |
+
with gr.Blocks(title="RAG chatbot", theme="Soft") as demo:
|
11 |
|
12 |
def upload_file(file):
|
13 |
return file
|