tbdavid2019 commited on
Commit
8bdbd05
1 Parent(s): fc5a1d0
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -99,10 +99,8 @@ def stock_prediction_app(period):
99
  return df
100
 
101
  # Define Gradio interface
102
- inputs = [
103
- gr.inputs.Dropdown(choices=["1mo", "3mo", "6mo", "9mo", "1yr"], label="時間範圍")
104
- ]
105
- outputs = gr.outputs.Dataframe(label="潛力股推薦結果")
106
 
107
  gr.Interface(fn=stock_prediction_app, inputs=inputs, outputs=outputs, title="台股潛力股推薦系統 - LSTM模型")\
108
- .launch()
 
99
  return df
100
 
101
  # Define Gradio interface
102
+ inputs = gr.Dropdown(choices=["1mo", "3mo", "6mo", "9mo", "1yr"], label="時間範圍")
103
+ outputs = gr.Dataframe(label="潛力股推薦結果")
 
 
104
 
105
  gr.Interface(fn=stock_prediction_app, inputs=inputs, outputs=outputs, title="台股潛力股推薦系統 - LSTM模型")\
106
+ .launch()