yava-code commited on
Commit
c871ada
·
1 Parent(s): 9645b79

expose fixture analysis through the Space API

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -253,7 +253,13 @@ with gr.Blocks(title="DramaMeter 2026") as demo:
253
  </header>
254
  """)
255
  with gr.Row(elem_classes="control-row"):
256
- fixture = gr.Dropdown([], label="Match radar", info="Live, upcoming and latest World Cup fixtures", elem_id="fixture")
 
 
 
 
 
 
257
  refresh = gr.Button("Refresh live data", elem_id="refresh")
258
  dashboard = gr.HTML('<div class="match-shell"><div class="source-line">Loading the live tournament feed…</div></div>')
259
  share = gr.Textbox(label="Post-ready take", buttons=["copy"], interactive=False)
 
253
  </header>
254
  """)
255
  with gr.Row(elem_classes="control-row"):
256
+ fixture = gr.Dropdown(
257
+ [],
258
+ label="Match radar",
259
+ info="Live, upcoming and latest World Cup fixtures",
260
+ allow_custom_value=True,
261
+ elem_id="fixture",
262
+ )
263
  refresh = gr.Button("Refresh live data", elem_id="refresh")
264
  dashboard = gr.HTML('<div class="match-shell"><div class="source-line">Loading the live tournament feed…</div></div>')
265
  share = gr.Textbox(label="Post-ready take", buttons=["copy"], interactive=False)