Update app.py
Browse files
app.py
CHANGED
@@ -244,13 +244,13 @@ with gr.Blocks(title="Reddit Election Analysis") as demo:
|
|
244 |
|
245 |
gr.Markdown("## Top words of the relevant Q&A")
|
246 |
with gr.Row():
|
247 |
-
gr.Column(scale = 1):
|
248 |
query_input = gr.Textbox(
|
249 |
label="Your Question For Topicalize",
|
250 |
placeholder="Copy and past your question there to vilaulize the top words of relevant topic"
|
251 |
)
|
252 |
topic_btn = gr.Button("Topicalize the RAG sources")
|
253 |
-
gr.Column(scale = 2):
|
254 |
topic_plot = gr.Plot(
|
255 |
label="Top Words Distribution",
|
256 |
container=True, # Ensures the plot is contained within its area
|
|
|
244 |
|
245 |
gr.Markdown("## Top words of the relevant Q&A")
|
246 |
with gr.Row():
|
247 |
+
with gr.Column(scale = 1):
|
248 |
query_input = gr.Textbox(
|
249 |
label="Your Question For Topicalize",
|
250 |
placeholder="Copy and past your question there to vilaulize the top words of relevant topic"
|
251 |
)
|
252 |
topic_btn = gr.Button("Topicalize the RAG sources")
|
253 |
+
with gr.Column(scale = 2):
|
254 |
topic_plot = gr.Plot(
|
255 |
label="Top Words Distribution",
|
256 |
container=True, # Ensures the plot is contained within its area
|