test / app.py
yoon2566's picture
Update app.py
7212496 verified
import gradio as gr
import folium
with gr.Blocks() as demo:
gr.Markdown("# πŸŽ‰μœ€μ •ν™˜ 강사 μž…λ‹ˆλ‹€!πŸŽ‰")
with gr.Tab('μ†Œκ°œ'):
gr.Markdown('# μ†Œκ°œ μΉ΄λ“œπŸƒ')
gr.Image('1.png')
gr.Markdown('# κ°•μ˜ κ²½λ ₯πŸ“š')
gr.Markdown('### 강원 SW λ―Έλž˜μ±„μ›€ 강릉센터')
gr.Markdown('- κΈ°κ°„: 23.3.1.~ ν˜„μž¬')
gr.Markdown('- λŒ€μƒ: μ½”λ”©κ²½μ§„λŒ€νšŒλ°˜ μ΄ˆλ“±,쀑등')
gr.Markdown('# ꡐ윑 μ΄μˆ˜πŸŽ“')
gr.Markdown('### μ†Œν”„νŠΈμ›¨μ–΄ λ―Έλž˜μ±„μ›€κ°•μ‚¬ μ–‘μ„±κ³Όμ •(160H)')
gr.Markdown('- μ΄μˆ˜κΈ°κ°„: 2022.12.19.~2023.1.13.')
gr.Markdown('- κ΅μœ‘κΈ°κ΄€: 정보톡신산업진ν₯원')
gr.Markdown('# μžκ²©μ¦πŸ’³')
gr.Markdown('### μ†Œν”„νŠΈμ›¨μ–΄ κ΅μœ‘κ°•μ‚¬ 3κΈ‰')
gr.Markdown('- μ·¨λ“μΌμž: 2023.11.22.')
gr.Markdown('- λ°œκΈ‰κΈ°κ΄€: (사) μ§€μ—­μ†Œν”„νŠΈμ‚°μ—…λ°œμ „ν˜‘νšŒ')
gr.Markdown('### 3Dν”„λ¦°ν„°μš΄μš©κΈ°λŠ₯사')
gr.Markdown('- μ·¨λ“μΌμž: 2020.12.24.')
gr.Markdown('- λ°œκΈ‰κΈ°κ΄€:ν•œκ΅­μ‚°μ—…μΈλ ₯곡단')
gr.Markdown('### μ „κΈ°κΈ°λŠ₯사')
gr.Markdown('- μ·¨λ“μΌμž: 2021.04.30.')
gr.Markdown('- λ°œκΈ‰κΈ°κ΄€:ν•œκ΅­μ‚°μ—…μΈλ ₯곡단')
gr.Markdown('# κΈ°νƒ€πŸŽΈ') # μƒΎμ΄λ‚˜ ν•˜μ΄ν”ˆμ΄ λ“€μ–΄κ°€λ©΄ μ€„λ°”κΏˆ ν•„μš” μ—†μŒ
text1= """
### νŠΉν—ˆ: 3D 좜λ ₯μž₯치 (3D펜)
- μΆœμ›λ²ˆν˜Έ 10-2021-0097782 호
- [νŠΉν—ˆλ§ν¬](https://doi.org/10.8080/1020210097782)
### IP λ””λ”€λŒ 3D ν”„λ¦°νŒ… 아이디어 ν˜•μƒν™” μ±…μž„
- μ£Όκ΄€: λΆ€μ‚°μ§€μ‹μž¬μ‚°μ„Όν„°
- λŒ€μƒ: 30λͺ… μ΄μƒμ˜ μ˜ˆλΉ„ μ°½μ—…μž
- κΈ°κ°„: 2020, 2021, 2022 년도
- λ‚΄μš©: μ°½μ—… μ œν’ˆ ν”„λ‘œν†  νƒ€μž… 3D 좜λ ₯
### ꡭ가사업, λŒ€ν•™μ‚°ν•™κ³Όμ œ μ±…μž„ 및 개발
- 닀색 3D펜
- ν”ŒλΌμŠ€ν‹± μž¬ν™œμš© 3Dν”„λ¦°ν„°
- IoT λ―Έλ‹ˆ 슀마트팜
- IoT 슀마트팜 μ»¨ν…Œμ΄λ„ˆ 버섯 재배 ν”„λ‘œμ νŠΈ
"""
gr.Markdown(text1)
gr.Markdown('# λ¬Έμ˜πŸ’¬')
gr.Markdown('- μΉ΄μΉ΄μ˜€ν†‘ID: jeng2566')
gr.Markdown('- 이메일: [email protected]')
with gr.Tab('λ―Έλž˜μ±„μ›€'):
gr.Markdown("# μœ„μΉ˜πŸ“Œ")
gr.Markdown("κ°•μ›νŠΉλ³„μžμΉ˜λ„ κ°•λ¦‰μ‹œ λ‚œμ„€ν—Œλ‘œ 131")
# 지도
m = folium.Map(location=[37.790085, 128.907840], zoom_start=13)
# 마컀
folium.Marker(
location=[37.790085, 128.907840],
popup='여기에 ν‘œμ‹œλœ μœ„μΉ˜',
icon=folium.Icon(color='blue')
).add_to(m)
gr.HTML(m._repr_html_())
gr.Markdown("# 360도 μ˜μƒπŸ₯½")
gr.Markdown('[360 μ˜μƒ](https://www.youtube.com/watch?v=udXSCMdVdYs)')
gr.HTML(f'<iframe width="300" height="200" src="https://www.youtube.com/embed/udXSCMdVdYs" title="20241216 360도 카메라 강원 λ©”νƒ€λ²„μŠ€ μ²΄ν—˜κ΄€ 3μΈ΅" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>')
with gr.Tab('λͺ¨λ‘μ½”'):
gr.Image('4.png')
gr.Markdown('# ν™ˆνŽ˜μ΄μ§€ (넀이버 λΈ”λ‘œκ·Έ)')
gr.Markdown('[μ΄λ™ν•˜κΈ°](https://blog.naver.com/socialcodingkids)')
gr.Markdown('# κ°•μ˜')
gr.Markdown("### 원데이 클래슀")
gr.Markdown("- 앱인벀터 ai 이미지 생성 μ•±")
gr.Markdown("- ν‹΄μ»€μΊλ“œ μ•„κΈ°λΌμ§€μ‚Όν˜•μ œ")
gr.Markdown("- μ†μœΌλ‘œ λ§ν•΄μš” λ§ˆμ΄ν¬λ‘œλΉ„νŠΈ")
gr.Markdown("### κ°•λ¦‰κ΅μœ‘λ¬Έν™”κ΄€")
gr.Markdown("- λ…Έλ²¨μ—”μ§€λ‹ˆμ–΄λ§ ν–„μŠ€ν„°S")
gr.Markdown("### 평창 λ„μ„±μ΄ˆλ“±ν•™κ΅")
gr.Markdown("- κ³Όν•™ ꡐ과 + μ½”λ”© μˆ˜μ—… (μ—”νŠΈλ¦¬,ν‹΄ν„°μΊλ“œ,앱인벀터)")
gr.Markdown("### 동해 광희쀑학ꡐ")
gr.Markdown("- 3D펜, ν–„μŠ€ν„°S")
gr.Markdown("### 강릉 μ„±λ•μ΄ˆλ“±ν•™κ΅")
gr.Markdown("- λ…Έλ²¨μ—”μ§€λ‹ˆμ–΄λ§ μ—”νŠΈλ¦¬ 인곡지λŠ₯")
gr.Markdown("- 뢁크리에이터")
gr.Markdown("### 강릉고등학ꡐ")
gr.Markdown("- 아두이노 슀마트 μ‹œν‹° λ§Œλ“€κΈ° ν”„λ‘œμ νŠΈ")
gr.Markdown("### μ›μ£Όμ‚Όμœ‘μ€‘ν•™κ΅")
gr.Markdown("- Ai ν™œμš© Kfood ν™λ³΄μ•„μ΄λŒ λ§Œλ“€κΈ°")
gr.Markdown("### 강원 λŒ€μ§„μ€‘ν•™κ΅")
gr.Markdown("- (μ˜ˆμ •)Python 메이컀 μˆ˜μ—…!")
with gr.Tab('μ‹€ν—˜μ€‘πŸ”¨'):
gr.Markdown('# μŒμ› 파일 ν”Œλ ˆμ΄μ–΄')
gr.Audio('2.mp3')
gr.Markdown('# μ—”νŠΈλ¦¬')
gr.HTML(f'<iframe width="300" height="200" src="https://playentry.org/iframe/670fbb2a01074db4d948918f" frameborder="0"></iframe>')
gr.Markdown('# 유튜브 λ°”λ‘œ λ„μš°κΈ°')
gr.HTML(f'<iframe width="300" height="200" src="https://www.youtube.com/embed/DjYHx2L4JCo" title="μœ€λŒ€λ¦¬_아두이노_λΈ”λ£¨νˆ¬μŠ€_앱인벀터_μ„Όμ„œκ°’_λ™μž‘λͺ¨λ“ˆ_λ ˆμ΄λΈ”" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>')
# μΉ΄μΉ΄μ˜€ν†‘ λΈŒλΌμš°μ €λ‘œ μ‹€ν–‰ν•˜λ©΄ λ¬Έμ œκ°€ μƒκ²¨μ„œ μ»·
#gr.Markdown('# XROO λ©”νƒ€λ²„μŠ€')
#gr.HTML(f'<iframe width="360" height="240" src="https://player.xroo.io/space/5327cc0a227c47d5a99b212362f9c2ea" frameborder="0" allow="autoplay; web-share" allowfullscreen></iframe>')
gr.Markdown('# 3Dλͺ¨λΈλ§ λ„μš°κΈ°')
gr.Model3D('3.glb')
demo.launch()