Gordon-H commited on
Commit
f55c607
·
verified ·
1 Parent(s): ed67c52

Fix Bugs Gradio

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -71,10 +71,10 @@ def recommend(opponent_formation):
71
  # Create the Gradio interface
72
  iface = gr.Interface(
73
  fn=recommend,
74
- inputs=gr.inputs.Textbox(lines=1, placeholder="Enter opponent formation (e.g., '3-4-2-1')"),
75
  outputs=[
76
- gr.outputs.Textbox(label="Recommended Formation"),
77
- gr.outputs.Dataframe(headers=["Formation", "Score"], label="Evaluated Formations")
78
  ],
79
  title="Deepfield Proyecto Maradona E3 Football Formation Recommender",
80
  description="Enter the opponent formation to get the recommended formation and a list of evaluated formations with their scores."
 
71
  # Create the Gradio interface
72
  iface = gr.Interface(
73
  fn=recommend,
74
+ inputs=gr.Textbox(lines=1, placeholder="Enter opponent formation (e.g., '3-4-2-1')"),
75
  outputs=[
76
+ gr.Textbox(label="Recommended Formation"),
77
+ gr.Dataframe(headers=["Formation", "Score"], label="Evaluated Formations")
78
  ],
79
  title="Deepfield Proyecto Maradona E3 Football Formation Recommender",
80
  description="Enter the opponent formation to get the recommended formation and a list of evaluated formations with their scores."