Matthew Rice commited on
Commit
5e7211a
1 Parent(s): 294891b

Fix space1 label for QB name

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +1 -1
README.md CHANGED
@@ -5,7 +5,7 @@ colorFrom: gray
5
  colorTo: blue
6
  sdk: gradio
7
  sdk_version: 3.0.19
8
- app_file: app_data.py
9
  pinned: false
10
  license: mit
11
  ---
 
5
  colorTo: blue
6
  sdk: gradio
7
  sdk_version: 3.0.19
8
+ app_file: app.py
9
  pinned: false
10
  license: mit
11
  ---
app.py CHANGED
@@ -19,7 +19,7 @@ def predict(data):
19
  return row[columns], prediction
20
 
21
  demo = gr.Interface(fn=predict,
22
- inputs="text",
23
  outputs=[
24
  gr.Dataframe(row_count=1, col_count=11, headers=columns, label="Rookie Year Stats"),
25
  gr.Textbox(label="Prediction")
 
19
  return row[columns], prediction
20
 
21
  demo = gr.Interface(fn=predict,
22
+ inputs=gr.Textbox(label="QB Name"),
23
  outputs=[
24
  gr.Dataframe(row_count=1, col_count=11, headers=columns, label="Rookie Year Stats"),
25
  gr.Textbox(label="Prediction")