myquyen242 commited on
Commit
e025c13
โ€ข
1 Parent(s): dd4783f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -14,11 +14,11 @@ st.write('''Write something here about the booming of Vietnamese Restaurant in K
14
  .''' )
15
 
16
  # ์‚ฌ์ง„ ์‚ฝ์ž…
17
- st.image('/content/drive/MyDrive/DATA JOURNALISM/final - may31/final_image_2.jpg', caption='A Spread of Vietnamese Dishes You Might Be Able To Find')
18
 
19
- st.image('/content/drive/MyDrive/DATA JOURNALISM/final - may31/final_image_4.jpg', caption='A popular choice everywhere: Vietnamese Pho Soup')
20
 
21
- st.image('/content/drive/MyDrive/DATA JOURNALISM/final - may31/final_image_3.jpg', caption='Hidden Gem: Banh Xeo')
22
 
23
 
24
  st.header('Cheap and Delicious: One can find a variety of Vietnamese Restaurant in Dongdaemun Area')
@@ -27,24 +27,24 @@ st.subheader('The almost infinite choices will leave you looking for reviews!')
27
  st.write('''Before deciding on which dish you'd want ~ carefully browse through the Blog section for an intimate look at the local food joints''' )
28
 
29
  # ๋ฐ์ดํ„ฐ ๋ณด์—ฌ์ฃผ๊ธฐ
30
- df_แ„€แ…งแ†ผแ„’แ…ดแ„ƒแ…ขแ„†แ…กแ†บแ„Œแ…ตแ†ธ = pd.read_excel('/content/drive/MyDrive/DATA JOURNALISM/final - may31/vietnam_food_dongdaemun_BLOGS.xlsx', index_col=0)
31
  st.write('We have narrowed down to 150 most relevant blogs!!', df_แ„€แ…งแ†ผแ„’แ…ดแ„ƒแ…ขแ„†แ…กแ†บแ„Œแ…ตแ†ธ)
32
 
33
- df_แ„€แ…งแ†ผแ„’แ…ดแ„ƒแ…ขแ„†แ…กแ†บแ„Œแ…ตแ†ธ_keyword = pd.read_excel('/content/drive/MyDrive/DATA JOURNALISM/final - may31/vietnam_food_KEYWORDS.xlsx', index_col=0)
34
  st.write('๋ธ”๋กœ๊ทธ ๊ธ€์—์„œ ๊ฐ€์žฅ ๋งŽ์ด ์ถœํ˜„ํ•œ ๋‹จ์–ด๋Š” ~~~ ์„ค๋ช…~~~', df_แ„€แ…งแ†ผแ„’แ…ดแ„ƒแ…ขแ„†แ…กแ†บแ„Œแ…ตแ†ธ_keyword)
35
 
36
 
37
 
38
  # ์›Œ๋“œํด๋ผ์šฐ๋“œ - WORDCLOUD
39
  st.write('์ฃผ์š” ๋‹จ์–ด๋“ค์„ ์›Œ๋“œํด๋ผ์šฐ๋“œ๋กœ ๋ณด์—ฌ์ฃผ๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™๋‹ค')
40
- st.image('/content/drive/MyDrive/DATA JOURNALISM/final - may31/final_WORDCLOUD.png')
41
 
42
 
43
 
44
  # ์—ฐ๊ฒฐ๋ง ๋ถ„์„ - NETWORK
45
  st.write('''์ทจ์žฌํŒ€์€ ์ฃผ์š” ๋‹จ์–ด๋“ค ๊ฐ„์— ๊ณต๋™์ถœํ˜„ํ•˜๋Š” ๊ด€๊ณ„๋ฅผ ๋ฐ”ํƒ•์œผ๋กœ ์˜๋ฏธ์—ฐ๊ฒฐ๋ง์„ ๊ทธ๋ ค๋ณด์•˜๋‹ค.
46
  ๋ถ„์„๊ฒฐ๊ณผ, ~~์„ค๋ช…~~''')
47
- st.image('/content/drive/MyDrive/DATA JOURNALISM/final - may31/final_NETWORK.png')
48
 
49
  #### The Section Below Is Extra Stuff We Gotta Think About
50
  '''
 
14
  .''' )
15
 
16
  # ์‚ฌ์ง„ ์‚ฝ์ž…
17
+ st.image('final_image_2.jpg', caption='A Spread of Vietnamese Dishes You Might Be Able To Find')
18
 
19
+ st.image('final_image_4.jpg', caption='A popular choice everywhere: Vietnamese Pho Soup')
20
 
21
+ st.image('final_image_3.jpg', caption='Hidden Gem: Banh Xeo')
22
 
23
 
24
  st.header('Cheap and Delicious: One can find a variety of Vietnamese Restaurant in Dongdaemun Area')
 
27
  st.write('''Before deciding on which dish you'd want ~ carefully browse through the Blog section for an intimate look at the local food joints''' )
28
 
29
  # ๋ฐ์ดํ„ฐ ๋ณด์—ฌ์ฃผ๊ธฐ
30
+ df_แ„€แ…งแ†ผแ„’แ…ดแ„ƒแ…ขแ„†แ…กแ†บแ„Œแ…ตแ†ธ = pd.read_excel('vietnam_food_dongdaemun_BLOGS.xlsx', index_col=0)
31
  st.write('We have narrowed down to 150 most relevant blogs!!', df_แ„€แ…งแ†ผแ„’แ…ดแ„ƒแ…ขแ„†แ…กแ†บแ„Œแ…ตแ†ธ)
32
 
33
+ df_แ„€แ…งแ†ผแ„’แ…ดแ„ƒแ…ขแ„†แ…กแ†บแ„Œแ…ตแ†ธ_keyword = pd.read_excel('vietnam_food_KEYWORDS.xlsx', index_col=0)
34
  st.write('๋ธ”๋กœ๊ทธ ๊ธ€์—์„œ ๊ฐ€์žฅ ๋งŽ์ด ์ถœํ˜„ํ•œ ๋‹จ์–ด๋Š” ~~~ ์„ค๋ช…~~~', df_แ„€แ…งแ†ผแ„’แ…ดแ„ƒแ…ขแ„†แ…กแ†บแ„Œแ…ตแ†ธ_keyword)
35
 
36
 
37
 
38
  # ์›Œ๋“œํด๋ผ์šฐ๋“œ - WORDCLOUD
39
  st.write('์ฃผ์š” ๋‹จ์–ด๋“ค์„ ์›Œ๋“œํด๋ผ์šฐ๋“œ๋กœ ๋ณด์—ฌ์ฃผ๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™๋‹ค')
40
+ st.image('final_WORDCLOUD.png')
41
 
42
 
43
 
44
  # ์—ฐ๊ฒฐ๋ง ๋ถ„์„ - NETWORK
45
  st.write('''์ทจ์žฌํŒ€์€ ์ฃผ์š” ๋‹จ์–ด๋“ค ๊ฐ„์— ๊ณต๋™์ถœํ˜„ํ•˜๋Š” ๊ด€๊ณ„๋ฅผ ๋ฐ”ํƒ•์œผ๋กœ ์˜๋ฏธ์—ฐ๊ฒฐ๋ง์„ ๊ทธ๋ ค๋ณด์•˜๋‹ค.
46
  ๋ถ„์„๊ฒฐ๊ณผ, ~~์„ค๋ช…~~''')
47
+ st.image('final_NETWORK.png')
48
 
49
  #### The Section Below Is Extra Stuff We Gotta Think About
50
  '''