Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -193,10 +193,9 @@ choices = [(item["company_name_jp"], str(item["symbol_code"])) for item in data]
|
|
| 193 |
with gr.Blocks(title="Stock Prediction", theme=gr.themes.Glass()) as demo:
|
| 194 |
gr.Markdown("# 📈リアルタイム株価予測")
|
| 195 |
gr.Markdown("LSTMを利用して株価の予測を行う。")
|
| 196 |
-
|
| 197 |
-
symbol_input = gr.Dropdown(choices, label="ドロップダウンを選択")
|
| 198 |
|
| 199 |
with gr.Row():
|
|
|
|
| 200 |
stock_input = gr.Textbox(
|
| 201 |
label="株コード (Examples: トヨタ (7203.T)、ソニー (6758.T) MSFT)",
|
| 202 |
value="7203.T",
|
|
|
|
| 193 |
with gr.Blocks(title="Stock Prediction", theme=gr.themes.Glass()) as demo:
|
| 194 |
gr.Markdown("# 📈リアルタイム株価予測")
|
| 195 |
gr.Markdown("LSTMを利用して株価の予測を行う。")
|
|
|
|
|
|
|
| 196 |
|
| 197 |
with gr.Row():
|
| 198 |
+
symbol_input = gr.Dropdown(choices, label="ドロップダウンを選択", value="トヨタ自動車株式会社")
|
| 199 |
stock_input = gr.Textbox(
|
| 200 |
label="株コード (Examples: トヨタ (7203.T)、ソニー (6758.T) MSFT)",
|
| 201 |
value="7203.T",
|