Skip to content

Commit c73c2b4

Browse files
authored
Merge pull request #889 from hyoshioka0128/patch-2
Fix formatting issues in Flask app README (Italic formatting not hand…
2 parents 11b1355 + 083568c commit c73c2b4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

translations/ja/3-Web-App/1-Web-App/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ print(model.predict([[50,44,-12]]))
166166

167167
次に、Flaskアプリを構築してモデルを呼び出し、より視覚的に魅力的な方法で結果を返します。
168168

169-
1. _notebook.ipynb_ファイルの隣に**web-app**というフォルダを作成します。その中に_ufo-model.pkl_ファイルを配置します
169+
1. _notebook.ipynb_ ファイルの隣に**web-app**というフォルダを作成します。その中に _ufo-model.pkl_ ファイルを配置します
170170

171171
1. そのフォルダ内にさらに3つのフォルダを作成します: **static** (その中に**css**フォルダを作成)、および**templates**。以下のファイルとディレクトリが揃っているはずです:
172172

@@ -181,7 +181,7 @@ print(model.predict([[50,44,-12]]))
181181
182182
✅ 完成したアプリのビューについてはソリューションフォルダを参照してください
183183
184-
1. 最初に_web-app_フォルダ内に**requirements.txt**ファイルを作成します。JavaScriptアプリの_package.json_のように、このファイルはアプリに必要な依存関係をリストします。**requirements.txt**に以下を追加します:
184+
1. 最初に _web-app_ フォルダ内に**requirements.txt**ファイルを作成します。JavaScriptアプリの _package.json_ のように、このファイルはアプリに必要な依存関係をリストします。**requirements.txt**に以下を追加します:
185185
186186
```text
187187
scikit-learn
@@ -190,13 +190,13 @@ print(model.predict([[50,44,-12]]))
190190
flask
191191
```
192192
193-
1. 次に、このファイルを_web-app_で実行します:
193+
1. 次に、このファイルを _web-app_ で実行します:
194194
195195
```bash
196196
cd web-app
197197
```
198198
199-
1. ターミナルで`pip install`と入力し、_requirements.txt_にリストされたライブラリをインストールします:
199+
1. ターミナルで`pip install`と入力し、_requirements.txt_ にリストされたライブラリをインストールします:
200200
201201
```bash
202202
pip install -r requirements.txt
@@ -205,10 +205,10 @@ print(model.predict([[50,44,-12]]))
205205
1. 次に、アプリを完成させるためにさらに3つのファイルを作成します:
206206
207207
1. ルートに**app.py**を作成します。
208-
2. _templates_ディレクトリに**index.html**を作成します。
209-
3. _static/css_ディレクトリに**styles.css**を作成します。
208+
2. _templates_ ディレクトリに**index.html**を作成します。
209+
3. _static/css_ ディレクトリに**styles.css**を作成します。
210210
211-
1. _styles.css_ファイルにいくつかのスタイルを追加します:
211+
1. _styles.css_ ファイルにいくつかのスタイルを追加します:
212212
213213
```css
214214
body {
@@ -242,7 +242,7 @@ print(model.predict([[50,44,-12]]))
242242
}
243243
```
244244
245-
1. 次に、_index.html_ファイルを構築します:
245+
1. 次に、_index.html_ ファイルを構築します:
246246
247247
```html
248248
<!DOCTYPE html>

0 commit comments

Comments
 (0)