Spaces:
Running
Running
File size: 1,687 Bytes
857c06a ad90a70 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
import gradio as gr
def predict(*args):
pass
# markup table for markdown
# # Members:
# | Students Name | Student ID |
# | :--- | :----: |
# | Zeel Karshanbhai Sheladiya | 500209119 |
# | Ravikumar Chandrakantbhai Patel | 500196861 |
# | Dharma Teja Reddy Bandreddi | 500209454 |
# | Sai Charan Reddy Meda | 500201602 |
# | Aditya Babu | 500209122 |
# | Sudip Bhattarai | 500198055 |
# | NOMAN FAZAL MUKADAM | 500209115 |
# | Leela Prasad Kavuri | 500209550 |
# | Vamsi Dasari | 500200775 |
with gr.Blocks() as demo:
gr.Markdown("""
# Subject: Data Science Project Management and Requirement Gathering 02 (Group 4)
[](https://github.com/ravi7522/Football-Prediction)
""")
with gr.Row():
gr.Label("Football Prediction", container=False)
with gr.Row():
with gr.Column():
home_team_id = gr.Dropdown(
label="Home Team",
choices=["zeel", "Ravi", "Sudip", "sai"],
)
with gr.Column():
Away_team_id = gr.Dropdown(
label="Away Team",
choices=["zeel", "Ravi", "Sudip", "sai"],
)
with gr.Row():
predict_btn = gr.Button(value="Predict")
predict_btn.click(
predict,
inputs=[
# needed parameters
],
outputs=[],
)
with gr.Row():
plot = gr.Plot()
demo.launch() |