Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -366,7 +366,8 @@ description_2 = (
|
|
366 |
"PDF GPT Turbo allows you to chat with your PDF files. It uses Google's Universal Sentence Encoder with Deep averaging network (DAN) to give hallucination free response by improving the embedding quality of OpenAI. It cites the page number in square brackets([Page No.]) and shows where the information is located, adding credibility to the responses."
|
367 |
)
|
368 |
|
369 |
-
with gr.
|
|
|
370 |
gr.Markdown(description_1)
|
371 |
interface = gr.Interface(
|
372 |
return_recommendations,
|
@@ -377,7 +378,7 @@ with gr.Tab(title=title_1) as tab1:
|
|
377 |
description=description,
|
378 |
)
|
379 |
|
380 |
-
with gr.
|
381 |
gr.Markdown(f'<center><h3>{title_2}</h3></center>')
|
382 |
gr.Markdown(description_2)
|
383 |
with gr.Row():
|
|
|
366 |
"PDF GPT Turbo allows you to chat with your PDF files. It uses Google's Universal Sentence Encoder with Deep averaging network (DAN) to give hallucination free response by improving the embedding quality of OpenAI. It cites the page number in square brackets([Page No.]) and shows where the information is located, adding credibility to the responses."
|
367 |
)
|
368 |
|
369 |
+
with gr.Blocks() as tab1:
|
370 |
+
gr.Markdown(f'<center><h3>{title_1}</h3></center>')
|
371 |
gr.Markdown(description_1)
|
372 |
interface = gr.Interface(
|
373 |
return_recommendations,
|
|
|
378 |
description=description,
|
379 |
)
|
380 |
|
381 |
+
with gr.Blocks() as tab2:
|
382 |
gr.Markdown(f'<center><h3>{title_2}</h3></center>')
|
383 |
gr.Markdown(description_2)
|
384 |
with gr.Row():
|