Spaces:
Runtime error
Runtime error
bhaskartripathi
commited on
Commit
•
015b642
1
Parent(s):
f3746a4
Update app.py
Browse files
app.py
CHANGED
@@ -236,7 +236,7 @@ recommender = SemanticSearch()
|
|
236 |
title = 'PDF GPT Turbo'
|
237 |
description = """ PDF GPT Turbo allows you to chat with your PDF file using Universal Sentence Encoder and Open AI. It gives hallucination free response than other tools as the embeddings are better than OpenAI. The returned response can even cite the page number in square brackets([]) where the information is located, adding credibility to the responses and helping to locate pertinent information quickly."""
|
238 |
|
239 |
-
with gr.Blocks(css="""#chatbot { font-size: 14px; min-height:
|
240 |
|
241 |
gr.Markdown(f'<center><h1>{title}</h1></center>')
|
242 |
gr.Markdown(description)
|
@@ -270,7 +270,7 @@ with gr.Blocks(css="""#chatbot { font-size: 14px; min-height: 800; }""") as demo
|
|
270 |
|
271 |
with gr.Group():
|
272 |
#chatbot = gr.Chatbot(placeholder="Chat History", label="Chat History", lines=20, elem_id="chatbot")
|
273 |
-
chatbot = gr.Chatbot(placeholder="Chat History", label="Chat History", lines=
|
274 |
|
275 |
# Bind the click event of the button to the question_answer function
|
276 |
btn.click(
|
|
|
236 |
title = 'PDF GPT Turbo'
|
237 |
description = """ PDF GPT Turbo allows you to chat with your PDF file using Universal Sentence Encoder and Open AI. It gives hallucination free response than other tools as the embeddings are better than OpenAI. The returned response can even cite the page number in square brackets([]) where the information is located, adding credibility to the responses and helping to locate pertinent information quickly."""
|
238 |
|
239 |
+
with gr.Blocks(css="""#chatbot { font-size: 14px; min-height: 1200; }""") as demo:
|
240 |
|
241 |
gr.Markdown(f'<center><h1>{title}</h1></center>')
|
242 |
gr.Markdown(description)
|
|
|
270 |
|
271 |
with gr.Group():
|
272 |
#chatbot = gr.Chatbot(placeholder="Chat History", label="Chat History", lines=20, elem_id="chatbot")
|
273 |
+
chatbot = gr.Chatbot(placeholder="Chat History", label="Chat History", lines=50, elem_id="chatbot")
|
274 |
|
275 |
# Bind the click event of the button to the question_answer function
|
276 |
btn.click(
|