maty0505 commited on
Commit
c4b2b21
·
verified ·
1 Parent(s): 28745e6
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,8 +24,8 @@ def predict_sales(future_date):
24
  # Gradioインターフェースの定義
25
  iface = gr.Interface(
26
  fn=predict_sales,
27
- inputs=gr.inputs.Textbox(label="Enter future date (YYYY-MM-DD)"),
28
- outputs=gr.outputs.Textbox(label="Predicted sales")
29
  )
30
 
31
  if __name__ == "__main__":
 
24
  # Gradioインターフェースの定義
25
  iface = gr.Interface(
26
  fn=predict_sales,
27
+ inputs=gr.components.Textbox(label="Enter future date (YYYY-MM-DD)"),
28
+ outputs=gr.components.Textbox(label="Predicted sales")
29
  )
30
 
31
  if __name__ == "__main__":