Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -20,6 +20,7 @@ import threading
|
|
20 |
import time
|
21 |
from collections import Counter
|
22 |
from model_suggestions import add_suggestion, get_suggestions_html
|
|
|
23 |
|
24 |
|
25 |
# Initialize logging for errors only
|
@@ -437,6 +438,16 @@ with gr.Blocks(css="""
|
|
437 |
outputs=[suggestions_list]
|
438 |
)
|
439 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
440 |
# Define interactions
|
441 |
submit_btn.click(
|
442 |
battle_arena,
|
|
|
20 |
import time
|
21 |
from collections import Counter
|
22 |
from model_suggestions import add_suggestion, get_suggestions_html
|
23 |
+
from release_notes import get_release_notes_html
|
24 |
|
25 |
|
26 |
# Initialize logging for errors only
|
|
|
438 |
outputs=[suggestions_list]
|
439 |
)
|
440 |
|
441 |
+
# Add this new tab
|
442 |
+
with gr.Tab("Latest Updates"):
|
443 |
+
release_notes = gr.HTML(get_release_notes_html())
|
444 |
+
refresh_notes_btn = gr.Button("Refresh Updates")
|
445 |
+
|
446 |
+
refresh_notes_btn.click(
|
447 |
+
get_release_notes_html,
|
448 |
+
outputs=[release_notes]
|
449 |
+
)
|
450 |
+
|
451 |
# Define interactions
|
452 |
submit_btn.click(
|
453 |
battle_arena,
|