Spaces:
Sleeping
Sleeping
Update DocuChat.py
Browse files- DocuChat.py +0 -14
DocuChat.py
CHANGED
@@ -102,20 +102,6 @@ class LangchainConversation:
|
|
102 |
'font-weight': 'bold'
|
103 |
}
|
104 |
|
105 |
-
layout = pn.Column(
|
106 |
-
pn.pane.Markdown("""
|
107 |
-
# Docu-Chat
|
108 |
-
AI-Powered Query Engine for Document Insights (powered by LangChain & OpenAI)
|
109 |
-
## How it works:
|
110 |
-
1) Upload a PDF
|
111 |
-
2) Enter your OpenAI API key (get one via <a href="https://platform.openai.com/account" target="_blank">OpenAI</a>)
|
112 |
-
3) Type a question and your document will get analyzed for an answer
|
113 |
-
|
114 |
-
Built by <a href="https://www.mckenzielloydsmith.com/home?utm_source=HuggingFace&utm_medium=PDF+Analyzer" target="_blank">McKenzie</a>.
|
115 |
-
"""), # Closing parenthesis for pn.pane.Markdown
|
116 |
-
pn.Row(self.file_input, self.openaikey), self.chatbox
|
117 |
-
)
|
118 |
-
|
119 |
# Add layout to the template
|
120 |
template.main.append(layout)
|
121 |
|
|
|
102 |
'font-weight': 'bold'
|
103 |
}
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
# Add layout to the template
|
106 |
template.main.append(layout)
|
107 |
|