Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -679,6 +679,31 @@ Die Katastrophe in <span style="background-color: #a8e6cf; font-weight: bold; pa
|
|
679 |
outputs=[status, output]
|
680 |
)
|
681 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
682 |
with gr.TabItem("π Visualisierung von strukturierten Daten"):
|
683 |
gr.HTML("""
|
684 |
<div class="info-box">
|
|
|
679 |
outputs=[status, output]
|
680 |
)
|
681 |
|
682 |
+
|
683 |
+
# Add your dateline examples here:
|
684 |
+
gr.HTML("""
|
685 |
+
<div style="margin-top: 30px; border-top: 1px solid #eaeaea; padding-top: 20px;">
|
686 |
+
<h3 style="color: #4e8fd1; margin-bottom: 15px;">Dateline Examples in International News</h3>
|
687 |
+
<p style="margin-bottom: 15px;">Here are some examples of how datelines work in international news reporting:</p>
|
688 |
+
|
689 |
+
<div style="margin-bottom: 20px; padding: 15px; background-color: white; border-left: 4px solid #0066cc; box-shadow: 0 1px 3px rgba(0,0,0,0.1);">
|
690 |
+
<div style="font-weight: bold; margin-bottom: 8px;">BERLIN β </div>
|
691 |
+
<div style="color: #444; line-height: 1.5;">
|
692 |
+
Japanese authorities confirmed at least 12 people died after a magnitude 6.8 earthquake struck the northern island of Hokkaido early Tuesday morning. Rescue operations continue in affected areas, with dozens still reported missing.
|
693 |
+
</div>
|
694 |
+
<div style="margin-top: 10px; font-style: italic; color: #666; font-size: 0.9em; border-top: 1px dotted #ddd; padding-top: 8px;">
|
695 |
+
Example of a Paris newspaper using its Berlin correspondent to report on a Japan earthquake, with a simple location-only dateline.
|
696 |
+
</div>
|
697 |
+
</div>
|
698 |
+
|
699 |
+
<!-- Add other examples here -->
|
700 |
+
|
701 |
+
</div>
|
702 |
+
""")
|
703 |
+
|
704 |
+
# This goes before:
|
705 |
+
with gr.TabItem("π Visualisierung von strukturierten Daten"):
|
706 |
+
|
707 |
with gr.TabItem("π Visualisierung von strukturierten Daten"):
|
708 |
gr.HTML("""
|
709 |
<div class="info-box">
|