sprite33 commited on
Commit
e414def
Β·
1 Parent(s): e067211
app.py CHANGED
@@ -9,11 +9,13 @@ def load_model(μ‹œμ„€μœ ν˜•):
9
  return loaded_pipeline
10
 
11
  # 예츑 ν•¨μˆ˜ μ •μ˜
12
- def predict_cost(μ‹œμ„€μœ ν˜•, ꡬ쑰, μ§€ν•˜μΈ΅μˆ˜, μ§€μƒμΈ΅μˆ˜, μ£Όμ°¨λŒ€μˆ˜, 연면적, λŒ€μ§€λ©΄μ , 건좕면적, 쑰경면적, λ°œμ£Όλ…„λ„, λ°œμ£Όμ›”, ν˜„μž₯μœ„μΉ˜):
13
  new_project = {
14
  'ꡬ쑰': [ꡬ쑰],
15
  'μ§€ν•˜μΈ΅μˆ˜': [μ§€ν•˜μΈ΅μˆ˜],
16
  'μ§€μƒμΈ΅μˆ˜': [μ§€μƒμΈ΅μˆ˜],
 
 
17
  'μ£Όμ°¨λŒ€μˆ˜': [μ£Όμ°¨λŒ€μˆ˜],
18
  '연면적': [연면적],
19
  'λŒ€μ§€λ©΄μ ': [λŒ€μ§€λ©΄μ ],
@@ -39,13 +41,15 @@ with gr.Blocks() as demo:
39
  with gr.Row():
40
  μ§€ν•˜μΈ΅μˆ˜ = gr.Number(label="μ§€ν•˜μΈ΅μˆ˜", value=1)
41
  μ§€μƒμΈ΅μˆ˜ = gr.Number(label="μ§€μƒμΈ΅μˆ˜", value=4)
42
- 주차수 = gr.Number(label="μ£Όμ°¨λŒ€μˆ˜", value=120)
 
43
  with gr.Row():
44
  연면적 = gr.Number(label="연면적(m2)", value=12396)
45
  λŒ€μ§€λ©΄μ  = gr.Number(label="λŒ€μ§€λ©΄μ (m2)", value=5861)
46
  건좕면적 = gr.Number(label="건좕면적(m2)", value=2828)
47
  쑰경면적 = gr.Number(label="쑰경면적(m2)", value=933)
48
  with gr.Row():
 
49
  λ°œμ£Όλ…„ = gr.Number(label="λ°œμ£Όλ…„λ„", value=2023)
50
  λ°œμ£Όμ›” = gr.Number(label="λ°œμ£Όμ›”", value=9)
51
  btn = gr.Button("곡사비 예츑")
@@ -53,7 +57,7 @@ with gr.Blocks() as demo:
53
  btn.click(
54
  predict_cost,
55
  inputs=[
56
- μ‹œμ„€μœ ν˜•, ꡬ쑰, μ§€ν•˜μΈ΅μˆ˜, μ§€μƒμΈ΅μˆ˜, 주차수, 연면적, λŒ€μ§€λ©΄μ , 건좕면적, 쑰경면적, λ°œμ£Όλ…„, λ°œμ£Όμ›”, ν˜„μž₯μœ„μΉ˜
57
  ],
58
  outputs=[
59
  gr.Textbox(label="건좕곡사비"),
 
9
  return loaded_pipeline
10
 
11
  # 예츑 ν•¨μˆ˜ μ •μ˜
12
+ def predict_cost(μ‹œμ„€μœ ν˜•, ꡬ쑰, μ§€ν•˜μΈ΅μˆ˜, μ§€μƒμΈ΅μˆ˜, κΈ°μ€€μΈ΅μΈ΅κ³ , μ΅œκ³ λ†’μ΄, 연면적, λŒ€μ§€λ©΄μ , 건좕면적, 쑰경면적, μ£Όμ°¨λŒ€μˆ˜, λ°œμ£Όλ…„λ„, λ°œμ£Όμ›”, ν˜„μž₯μœ„μΉ˜):
13
  new_project = {
14
  'ꡬ쑰': [ꡬ쑰],
15
  'μ§€ν•˜μΈ΅μˆ˜': [μ§€ν•˜μΈ΅μˆ˜],
16
  'μ§€μƒμΈ΅μˆ˜': [μ§€μƒμΈ΅μˆ˜],
17
+ 'κΈ°μ€€μΈ΅μΈ΅κ³ ': [κΈ°μ€€μΈ΅μΈ΅κ³ ],
18
+ 'μ΅œκ³ λ†’μ΄': [μ΅œκ³ λ†’μ΄],
19
  'μ£Όμ°¨λŒ€μˆ˜': [μ£Όμ°¨λŒ€μˆ˜],
20
  '연면적': [연면적],
21
  'λŒ€μ§€λ©΄μ ': [λŒ€μ§€λ©΄μ ],
 
41
  with gr.Row():
42
  μ§€ν•˜μΈ΅μˆ˜ = gr.Number(label="μ§€ν•˜μΈ΅μˆ˜", value=1)
43
  μ§€μƒμΈ΅μˆ˜ = gr.Number(label="μ§€μƒμΈ΅μˆ˜", value=4)
44
+ κΈ°μ€€μΈ΅μΈ΅κ³  = gr.Number(label="κΈ°μ€€μΈ΅μΈ΅κ³ (m)", value=4.5)
45
+ μ΅œκ³ λ†’μ΄ = gr.Number(label="μ΅œκ³ λ†’μ΄(m)", value=33.9)
46
  with gr.Row():
47
  연면적 = gr.Number(label="연면적(m2)", value=12396)
48
  λŒ€μ§€λ©΄μ  = gr.Number(label="λŒ€μ§€λ©΄μ (m2)", value=5861)
49
  건좕면적 = gr.Number(label="건좕면적(m2)", value=2828)
50
  쑰경면적 = gr.Number(label="쑰경면적(m2)", value=933)
51
  with gr.Row():
52
+ 주차수 = gr.Number(label="μ£Όμ°¨λŒ€μˆ˜", value=120)
53
  λ°œμ£Όλ…„ = gr.Number(label="λ°œμ£Όλ…„λ„", value=2023)
54
  λ°œμ£Όμ›” = gr.Number(label="λ°œμ£Όμ›”", value=9)
55
  btn = gr.Button("곡사비 예츑")
 
57
  btn.click(
58
  predict_cost,
59
  inputs=[
60
+ μ‹œμ„€μœ ν˜•, ꡬ쑰, μ§€ν•˜μΈ΅μˆ˜, μ§€μƒμΈ΅μˆ˜, κΈ°μ€€μΈ΅μΈ΅κ³ , μ΅œκ³ λ†’μ΄, 연면적, λŒ€μ§€λ©΄μ , 건좕면적, 쑰경면적, 주차수, λ°œμ£Όλ…„, λ°œμ£Όμ›”, ν˜„μž₯μœ„μΉ˜
61
  ],
62
  outputs=[
63
  gr.Textbox(label="건좕곡사비"),
κ°•μ˜ν˜•λŒ€ν•™κ΅.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d620e5466b83882084037ebeeb6d95e4089bbf25437d8c0f48de69d1ec07e56b
3
+ size 253873
κΈ°μˆ™μ‚¬.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:929dc0e1773ab4aa625d26daec5b9783616dd5cbedc6afb761cd32bc5c1b86b5
3
- size 190883
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:941907218177bbe724c0b79836882d753aac0b78f9b214576a59ebc0081e4fee
3
+ size 176970
κΈ°νƒ€μ‹œμ„€.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1e8180791689d559744669d5133e1dfe9fd2c1b3fd168a877ce5f7ba8c46dcaf
3
- size 1282673
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f257109543d7f234d461d4dd4092bab009ab99e8a9491151d853eee66a095c5a
3
+ size 1068025
λ…Έμœ μžμ‹œμ„€.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6b7fffd9d9936cc55051add4039a042c9a21093273ab37e8318b1710acfb4edb
3
- size 631381
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49bb9119232758e7385061992f34d5b0266c31041fe3f6c49c6ca6d102e1613b
3
+ size 571904
λŒ€ν˜•μ˜λ£Œμ‹œμ„€.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:aaadffa546d3d7154012946f620d027a1c6780d23a20a9ca2c9c1142b81330f0
3
- size 176937
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c6e495fd4044fd68e1404b007814ff7c689edb431b75872f1e84d918768bc1a
3
+ size 176978
λŒ€ν˜•μ²­μ‚¬.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0030b18828c765fe4860a9de9fcd3284ca8b1a21e5a085daecba3366d5be1f35
3
- size 924167
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc8b0d3c0d45af32ace25975b54738246970681ddf701de6602efad647218d13
3
+ size 877250
λ„μ„œκ΄€.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:11b6ec365a9d675527a9da432f9b78f0d8c70783cf2f120b8203a69eab829067
3
- size 266814
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bad4a67312456e0ce2032a92a48a94c91311142ab4ce6ca4f0ca025dfc6bf34c
3
+ size 266864
λ³΅μ§€μ‹œμ„€.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e8d7a61db85a80f6d85db734c30fa4f912550f762fbc665c3562f0cc2fff3eb6
3
- size 279186
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a79299c8766fdca51825b384f2f1777cec6af21c04ba6b210c35d2c568d8fa2
3
+ size 266722
λ³΅ν•©ν˜•λŒ€ν•™κ΅.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2ba248c7f0fe0906319a616582af42b78349d5f811e81d99b06fe05d0935bfa4
3
- size 386603
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad5c7674f4c64d2c40eeb08d26cadfdecf00b4fdf012ad6787485d8342b2f61e
3
+ size 386695
λ³΅ν•©ν˜•μˆ˜λ ¨μ‹œμ„€.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:75682561059baa3a2df85e732a0f16422ba300d02b27cf88241b4c46c2d712a0
3
- size 160253
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:563a5d3b51b0b90141fa07ae90a376a8ea49e7f826635601512fa8457d8a1048
3
+ size 160600
λ³΅ν•©ν˜•μ²΄μœ‘μ‹œμ„€.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:89f8d0cac75153d3dd96c6635f767f01d71f70a2bb618a5e289dea3b2f2d22c4
3
- size 509896
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce77aa64fe5e63ea5e054f58d67036d80a4c09110b666dff92fca14f8c42848a
3
+ size 495449
λ³΅ν•©ν˜•μ΄ˆμ€‘κ³ .pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ec2239a21fd02461ab09205c885099a7a6e73af951a521825fb85d386eec8052
3
- size 1098543
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26c2b5fa2345828b0f78ad42c174d8aa9865d1f91be52f1588f5c88e5d763308
3
+ size 1098881
μ‹€ν—˜μš©μ—°κ΅¬μ‹œμ„€.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:71852ccaf23a4fc555f13c9653a114d18fd97982353568fd6bcb795de9cd73d6
3
- size 510402
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ee8801333401e7f3c81946f04c42d1d86bd6b576abcaf8e6942131c6cbc8151
3
+ size 479339
μΌλ°˜μ²­μ‚¬.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bd1ceff128f41e72399b7bbb74c571603cd09b28b1acae496687aa78ee2b19fb
3
- size 2005879
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82725fd9d0ea1dd9094deee2d554fe1b42c087a5e9aaf3a728d5042c578f3523
3
+ size 1908246
μΌλ°˜ν˜•κ³΅μž₯.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c116c4caf1f86489cbc487ff10314a781408aa8345823930b5f10d6761fd0660
3
- size 176885
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d805b9b82fe4afb89954fe8dd1f88da03869d3c81bf7ff61642a18fa685e563
3
+ size 176926
μΌλ°˜ν˜•μˆ˜λ ¨μ‹œμ„€.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5a26811ef2e2723b533bd1c4e47af67d67a38e17156d618bb583b4c94ed2de1d
3
- size 223272
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9221929a2e01d16882f0c071fbcce48c9a5ae7b5767788532bec52879906e7c
3
+ size 223313
μΌλ°˜ν˜•μ—°κ΅¬μ†Œ.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f3f606c1fcdbdb673c426a969d792dd6427d1a86048a22e7afa1f27e7589a549
3
- size 707339
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fb8d87ecdff4ef341100a8d5c7d3f63002a2237769fa3621ef6d684f2a808e4
3
+ size 692951
μΌλ°˜ν˜•μ „μ‹œμ‹œμ„€.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e935c6b33b3310288dcb2d5d02eba26b2c5008aff4f4adce9e00599e3f5b44eb
3
- size 571980
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0b9c9b3fbec9a73c2367949ffc3e2c6bae0171970eccb0bbb0f19937f98acda
3
+ size 572318
μΌλ°˜ν˜•μ΄ˆμ€‘κ³ .pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cd785447fe5c27febc349f17d06a08c4c658ad7b55c55b163b964edef4fbce44
3
- size 1693916
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c683e19982fd657cf258e9f12b786c54be2854c4b79c3518a9eb05c18c17d467
3
+ size 1445451
μ²¨λ‹¨μ—°κ΅¬μ‹œμ„€.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:020a120ecd25c37596916fb5c44d234a99cd5db10f147a384399090933406f09
3
- size 176996
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4f64abf561c1ce7f43aa17f55fb53285ddb4bea621440cbff82642cb73db3fd
3
+ size 177037
νŠΉμˆ˜ν˜•κ³΅μž₯.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8dbf82a2b67e3ffea63f1c3bd2b04a0593443bb396a9ae5be038043b3fe8ef13
3
- size 147174
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c0dd6f0ad95b80e7f30611c6a6b72b5cde411c19bdd953773025459cd76b0f3
3
+ size 147215