Spaces:
Runtime error
Runtime error
Hugo Lindgren commited on
Commit ·
6a1e1c5
1
Parent(s): 2b7564e
test
Browse files
app.py
CHANGED
|
@@ -95,9 +95,12 @@ for index, row in df.iterrows():
|
|
| 95 |
|
| 96 |
df_present = pd.DataFrame(new_rows, columns=["Player name", "League", "Goals", "Assists", "Yellow cards", "Red cards", "Minutes played", "Height (cm)", "Age", "Months left on contract", "Team made goals", "Team conceded goals", "Team clean sheets", "Actual market value (EUR)", "Model predicted market value (EUR)"])
|
| 97 |
|
|
|
|
|
|
|
| 98 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 99 |
with gr.Row():
|
| 100 |
gr.Label(value="Latest predictions", show_label=False)
|
|
|
|
| 101 |
gr.DataFrame(value=df_present)
|
| 102 |
|
| 103 |
|
|
|
|
| 95 |
|
| 96 |
df_present = pd.DataFrame(new_rows, columns=["Player name", "League", "Goals", "Assists", "Yellow cards", "Red cards", "Minutes played", "Height (cm)", "Age", "Months left on contract", "Team made goals", "Team conceded goals", "Team clean sheets", "Actual market value (EUR)", "Model predicted market value (EUR)"])
|
| 97 |
|
| 98 |
+
print(df_present)
|
| 99 |
+
|
| 100 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 101 |
with gr.Row():
|
| 102 |
gr.Label(value="Latest predictions", show_label=False)
|
| 103 |
+
with gr.Row():
|
| 104 |
gr.DataFrame(value=df_present)
|
| 105 |
|
| 106 |
|