Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -132,7 +132,7 @@ with gr.Blocks(title="Daily Mirror News Classifier") as demo:
|
|
| 132 |
outputs=[output_text, output_file,bar_chart]
|
| 133 |
)
|
| 134 |
|
| 135 |
-
|
| 136 |
gr.Markdown("Ask any question about a news article")
|
| 137 |
news_input = gr.Textbox(lines=12, label="Paste News Content", placeholder="Paste the full news article here...")
|
| 138 |
question_input = gr.Textbox(label="Your Question", placeholder="e.g. What is the main topic?")
|
|
|
|
| 132 |
outputs=[output_text, output_file,bar_chart]
|
| 133 |
)
|
| 134 |
|
| 135 |
+
with gr.Tab("❓ Question Answering"):
|
| 136 |
gr.Markdown("Ask any question about a news article")
|
| 137 |
news_input = gr.Textbox(lines=12, label="Paste News Content", placeholder="Paste the full news article here...")
|
| 138 |
question_input = gr.Textbox(label="Your Question", placeholder="e.g. What is the main topic?")
|