Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -254,14 +254,14 @@ Search_txt = "text"
|
|
254 |
filePdf = "file"
|
255 |
|
256 |
with gr.Blocks(title='Manifesto Analysis') as demo:
|
257 |
-
gr.Markdown("# Manifesto Analysis
|
258 |
with gr.Row():
|
259 |
with gr.Column():
|
260 |
file_input = gr.File(label="Upload Manifesto PDF", file_types=[".pdf"])
|
261 |
search_input = gr.Textbox(label="Search Term", placeholder="Enter a term to search in the manifesto")
|
262 |
submit_btn = gr.Button("Analyze Manifesto")
|
263 |
with gr.Tabs():
|
264 |
-
with gr.TabItem("Summary"): gr.Textbox(label='
|
265 |
with gr.TabItem("Search Results"): gr.Textbox(label='Context Based Search')
|
266 |
with gr.TabItem("Key Topics"): gr.Label(label="Most Relevant Topics (LLM Enhanced)")
|
267 |
with gr.TabItem("Visualizations"):
|
|
|
254 |
filePdf = "file"
|
255 |
|
256 |
with gr.Blocks(title='Manifesto Analysis') as demo:
|
257 |
+
gr.Markdown("# Manifesto Analysis")
|
258 |
with gr.Row():
|
259 |
with gr.Column():
|
260 |
file_input = gr.File(label="Upload Manifesto PDF", file_types=[".pdf"])
|
261 |
search_input = gr.Textbox(label="Search Term", placeholder="Enter a term to search in the manifesto")
|
262 |
submit_btn = gr.Button("Analyze Manifesto")
|
263 |
with gr.Tabs():
|
264 |
+
with gr.TabItem("Summary"): gr.Textbox(label='LLM Based Summary', lines=10)
|
265 |
with gr.TabItem("Search Results"): gr.Textbox(label='Context Based Search')
|
266 |
with gr.TabItem("Key Topics"): gr.Label(label="Most Relevant Topics (LLM Enhanced)")
|
267 |
with gr.TabItem("Visualizations"):
|