Spaces:
Sleeping
Sleeping
Update DocuChat.py
Browse files- DocuChat.py +8 -1
DocuChat.py
CHANGED
@@ -102,6 +102,13 @@ class LangchainConversation:
|
|
102 |
'font-weight': 'bold'
|
103 |
}
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
# Add layout to the template
|
106 |
template.main.append(layout)
|
107 |
|
@@ -109,4 +116,4 @@ class LangchainConversation:
|
|
109 |
return template.servable()
|
110 |
|
111 |
langchain_conversation = LangchainConversation()
|
112 |
-
langchain_conversation.view()
|
|
|
102 |
'font-weight': 'bold'
|
103 |
}
|
104 |
|
105 |
+
layout = pn.Column(
|
106 |
+
pn.pane.Markdown("""
|
107 |
+
Built by <a href="https://www.mckenzielloydsmith.com/home?utm_source=HuggingFace&utm_medium=PDF+Analyzer" target="_blank">McKenzie</a>.
|
108 |
+
"""), # Closing parenthesis for pn.pane.Markdown
|
109 |
+
pn.Row(self.file_input, self.openaikey), self.chatbox
|
110 |
+
)
|
111 |
+
|
112 |
# Add layout to the template
|
113 |
template.main.append(layout)
|
114 |
|
|
|
116 |
return template.servable()
|
117 |
|
118 |
langchain_conversation = LangchainConversation()
|
119 |
+
langchain_conversation.view()
|