Spaces:
Build error
Build error
phong.dao
commited on
Commit
·
c0a75e2
1
Parent(s):
49a060f
init app
Browse files
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(
|
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()
|