phong.dao commited on
Commit
c0a75e2
·
1 Parent(s): 49a060f
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -27,6 +27,9 @@ def function(team1, team2):
27
 
28
  predictor = Predictor(base_df, ml_model)
29
  iface = gr.Interface(fn=function,
30
- inputs=[gr.Textbox(value="Team 1"), gr.Textbox(value="Team 2")],
31
- outputs="json")
 
 
 
32
  iface.launch()
 
27
 
28
  predictor = Predictor(base_df, ml_model)
29
  iface = gr.Interface(fn=function,
30
+ inputs=[gr.Textbox(placeholder="Qatar"), gr.Textbox(placeholder="Ecuador")],
31
+ outputs="json",
32
+ title="WorldCup-Prediction \n "
33
+ "Predicting the 2022 FIFA World Cup results with Machine Learning!"
34
+ )
35
  iface.launch()