modified
Browse files
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.
|
28 |
-
outputs=gr.
|
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__":
|