icebreaking / README.md
yunzi7's picture
Feat: upload project
df42f36
---
title: Ice Breaking Challenge
emoji: πŸ“š
colorFrom: purple
colorTo: yellow
sdk: docker
pinned: false
short_description: ice_breaking_challenge
---
# Ice Breaking Challenge
## μ‚¬μš© μ‹œλ‚˜λ¦¬μ˜€
```mermaid
sequenceDiagram
actor user as μ‚¬μš©μž
participant browser as λΈŒλΌμš°μ €
participant flask as Flask
%% participant sheets as Google Sheets
%% participant gemma as Fine-Tuned Gemma 2
autonumber
critical νŒ€ 정보 μž…λ ₯
user ->> browser: Hugging Face Space μ ‘κ·Ό
browser ->> flask: `νŒ€ 정보 μž…λ ₯ νŽ˜μ΄μ§€` μš”μ²­ (json)
flask ->> browser: `νŒ€ 정보 μž…λ ₯ νŽ˜μ΄μ§€` 응닡 (html & js)
browser ->> user: `νŒ€ 정보 μž…λ ₯ νŽ˜μ΄μ§€` λ Œλ”λ§
end
critical μ„€λ¬Έ QR
user ->> browser: `νŒ€ 정보 μž…λ ₯ νŽ˜μ΄μ§€`의 `λ‹€μŒ` λ²„νŠΌ 클릭
browser ->> flask: `μ„€λ¬Έ QR νŽ˜μ΄μ§€` μš”μ²­ (json)
flask ->> browser: `μ„€λ¬Έ QR νŽ˜μ΄μ§€` 응닡 (html & js)
browser ->> user: `μ„€λ¬Έ QR νŽ˜μ΄μ§€` λ Œλ”λ§
end
critical μžκΈ°μ†Œκ°œ
user ->> browser: `νŒ€ 정보 μž…λ ₯ νŽ˜μ΄μ§€`의 `λ‹€μŒ` λ²„νŠΌ 클릭
browser ->> flask: `μžκΈ°μ†Œκ°œ νŽ˜μ΄μ§€` μš”μ²­ (json)
flask ->> browser: `μžκΈ°μ†Œκ°œ νŽ˜μ΄μ§€` 응닡 (html & js)
browser ->> user: `μžκΈ°μ†Œκ°œ νŽ˜μ΄μ§€` λ Œλ”λ§
Note right of user: 질문 생성 μ™„λ£Œλ  λ•ŒκΉŒμ§€ `λ‹€μŒ` λ²„νŠΌ λ Œλ”λ§ X
end
critical μ„€λ¬Έ 및 질문 생성 μ™„λ£Œ 확인
browser ->> flask: μ„€λ¬Έ μ™„λ£Œ 확인 μš”μ²­ (json)
create participant sheets as Google Sheets
flask ->> sheets: μ„€λ¬Έ μš”μ²­
destroy sheets
sheets ->> flask: μ„€λ¬Έ 응닡
flask ->> flask: νŒ€ 정보와 μ„€λ¬Έ λ‚΄μ—­ λŒ€μ‘°
create participant gemma as Fine-Tuned Gemma 2
flask ->> gemma: μ„€λ¬Έ μ™„λ£Œλ˜μ—ˆλ‹€λ©΄, 질문 생성 μš”μ²­
destroy gemma
gemma ->> flask: 질문 생성 응닡
flask ->> browser: 질문 생성 μ™„λ£Œλœ 경우 `λ‹€μŒ` λ²„νŠΌ 응닡
browser ->> user: `λ‹€μŒ` λ²„νŠΌ λ Œλ”λ§
end
critical 젬마 생성 질문 1번
user ->> browser: `μžκΈ°μ†Œκ°œ νŽ˜μ΄μ§€`의 `λ‹€μŒ` λ²„νŠΌ 클릭
browser ->> flask: `생성 질문 1번 νŽ˜μ΄μ§€ μš”μ²­` (json)
flask ->> browser: `생성 질문 1번 νŽ˜μ΄μ§€ 응닡` (html & js)
browser ->> user: `생성 질문 1번 νŽ˜μ΄μ§€ 응닡` λ Œλ”λ§
end
critical 젬마 생성 질문 2번
user ->> browser: `생성 질문 1번 νŽ˜μ΄μ§€`의 `λ‹€μŒ` λ²„νŠΌ 클릭 (json)
Note left of flask: μ΄ν•˜ 동일
end
critical μΉœν•΄μ§€μ…¨λ‚˜μš”
user ->> browser: `생성 질문 λ§ˆμ§€λ§‰ νŽ˜μ΄μ§€`의 `λ‹€μŒ` λ²„νŠΌ 클릭 (json)
browser ->> flask: `생성 질문 λ§ˆμ§€λ§‰ νŽ˜μ΄μ§€` μš”μ²­ (json)
flask ->> browser: `생성 질문 λ§ˆμ§€λ§‰ νŽ˜μ΄μ§€` 응닡 (html & js)
browser ->> user: `생성 질문 λ§ˆμ§€λ§‰ νŽ˜μ΄μ§€` λ Œλ”λ§
end
```