cutechicken commited on
Commit
1fb62e7
โ€ข
1 Parent(s): 0b0ac38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -5
app.py CHANGED
@@ -496,14 +496,21 @@ with gr.Blocks(css=CSS) as demo:
496
 
497
  gr.Examples(
498
  examples=[
499
- ["ํ•œ๊ตญ์˜ ์ „ํ†ต ์ ˆ๊ธฐ์™€ 24์ ˆ๊ธฐ์— ๋Œ€ํ•ด ์ž์„ธํžˆ ์„ค๋ช…ํ•ด์ฃผ์„ธ์š”."],
500
- ["์šฐ๋ฆฌ๋‚˜๋ผ ์ „ํ†ต ์Œ์‹ ์ค‘ ๊ฑด๊ฐ•์— ์ข‹์€ ๋ฐœํšจ์Œ์‹ 5๊ฐ€์ง€๋ฅผ ์ถ”์ฒœํ•˜๊ณ  ๊ทธ ํšจ๋Šฅ์„ ์„ค๋ช…ํ•ด์ฃผ์„ธ์š”."],
501
- ["ํ•œ๊ตญ์˜ ๋Œ€ํ‘œ์ ์ธ ์‚ฐ๋“ค์„ ์†Œ๊ฐœํ•˜๊ณ , ๊ฐ ์‚ฐ์˜ ํŠน์ง•๊ณผ ๋“ฑ์‚ฐ ์ฝ”์Šค๋ฅผ ์ถ”์ฒœํ•ด์ฃผ์„ธ์š”."],
502
- ["์‚ฌ๋ฌผ๋†€์ด์˜ ์•…๊ธฐ ๊ตฌ์„ฑ๊ณผ ์žฅ๋‹จ์— ๋Œ€ํ•ด ์ดˆ๋ณด์ž๋„ ์ดํ•ดํ•˜๊ธฐ ์‰ฝ๊ฒŒ ์„ค๋ช…ํ•ด์ฃผ์„ธ์š”."],
503
- ["ํ•œ๊ตญ์˜ ์ „ํ†ต ๊ฑด์ถ•๋ฌผ์— ๋‹ด๊ธด ๊ณผํ•™์  ์›๋ฆฌ๋ฅผ ํ˜„๋Œ€์  ๊ด€์ ์—์„œ ๋ถ„์„ํ•ด์ฃผ์„ธ์š”."],
 
 
 
 
 
504
  ],
505
  inputs=msg
506
  )
 
 
507
 
508
  # ์ด๋ฒคํŠธ ๋ฐ”์ธ๋”ฉ
509
  msg.submit(
 
496
 
497
  gr.Examples(
498
  examples=[
499
+ ["๋‹ค์Œ ์ฝ”๋“œ์˜ ๋ฌธ์ œ์ ์„ ์ฐพ์•„๋‚ด๊ณ  ๊ฐœ์„ ๋œ ๋ฒ„์ „์„ ์ œ์‹œํ•ด์ฃผ์„ธ์š”:\ndef fibonacci(n):\n if n <= 1: return n\n return fibonacci(n-1) + fibonacci(n-2)"],
500
+ ["์–‘์ž์—ญํ•™์˜ ์Šˆ๋ขฐ๋”ฉ๊ฑฐ ๋ฐฉ์ •์‹๊ณผ ํ•˜์ด์  ๋ฒ ๋ฅดํฌ์˜ ๋ถˆํ™•์ •์„ฑ ์›๋ฆฌ์˜ ๊ด€๊ณ„๋ฅผ ์‰ฝ๊ฒŒ ์„ค๋ช…ํ•ด์ฃผ์„ธ์š”."],
501
+ ["๋‹ค์Œ ์˜์–ด ๋ฌธ์žฅ์„ ํ•œ๊ตญ์–ด๋กœ ๋ฒˆ์—ญํ•˜๊ณ , ์–ดํœ˜์™€ ๋ฌธ๋ฒ•์  ํŠน์ง•์„ ์„ค๋ช…ํ•ด์ฃผ์„ธ์š”: 'The implementation of artificial intelligence in healthcare has revolutionized patient care, yet it raises ethical concerns regarding privacy and decision-making autonomy.'"],
502
+ ["์ฃผ์–ด์ง„ ๋ฐ์ดํ„ฐ๋ฅผ ๋ถ„์„ํ•˜๊ณ  ์ธ์‚ฌ์ดํŠธ๋ฅผ ๋„์ถœํ•ด์ฃผ์„ธ์š”:\n์—ฐ๋„๋ณ„ ๋งค์ถœ์•ก(์–ต์›)\n2019: 1200\n2020: 980\n2021: 1450\n2022: 2100\n2023: 1890"],
503
+ ["๋‹ค์Œ ์‹œ๋‚˜๋ฆฌ์˜ค์— ๋Œ€ํ•œ SWOT ๋ถ„์„์„ ํ•ด์ฃผ์„ธ์š”: '์ „ํ†ต์ ์ธ ์˜คํ”„๋ผ์ธ ์„œ์ ์ด ์˜จ๋ผ์ธ ํ”Œ๋žซํผ์œผ๋กœ์˜ ์ „ํ™˜์„ ๊ณ ๋ ค์ค‘์ž…๋‹ˆ๋‹ค. ๋…์ž๋“ค์˜ ๋””์ง€ํ„ธ ์ฝ˜ํ…์ธ  ์†Œ๋น„๊ฐ€ ์ฆ๊ฐ€ํ•˜๋Š” ์ƒํ™ฉ์—์„œ ๊ฒฝ์Ÿ๋ ฅ์„ ์œ ์ง€ํ•˜๋ฉด์„œ ๊ธฐ์กด ๊ณ ๊ฐ์ธต๋„ ์ง€ํ‚ค๊ณ  ์‹ถ์Šต๋‹ˆ๋‹ค.'"],
504
+ ["์ด ์ฒ ํ•™์  ์งˆ๋ฌธ์— ๋Œ€ํ•ด ๋‹ค์–‘ํ•œ ๊ด€์ ์—์„œ ๋…ผ๋ฆฌ์ ์œผ๋กœ ๋ถ„์„ํ•ด์ฃผ์„ธ์š”: '์ธ๊ณต์ง€๋Šฅ์ด ์˜์‹์„ ๊ฐ€์งˆ ์ˆ˜ ์žˆ๋Š”๊ฐ€? ์˜์‹์˜ ์ •์˜๋Š” ๋ฌด์—‡์ด๋ฉฐ, ๊ธฐ๊ณ„๊ฐ€ ๊ทธ๊ฒƒ์„ ๊ฐ€์งˆ ์ˆ˜ ์žˆ๋Š” ์กฐ๊ฑด์€ ๋ฌด์—‡์ธ๊ฐ€?'"],
505
+ ["๋‹ค์Œ ์ˆ˜ํ•™ ๋ฌธ์ œ๋ฅผ ๋‹จ๊ณ„๋ณ„๋กœ ์ž์„ธํžˆ ํ’€์ดํ•ด์ฃผ์„ธ์š”: 'ํ•œ ์›์˜ ๋„“์ด๊ฐ€ ๊ทธ ์›์— ๋‚ด์ ‘ํ•˜๋Š” ์ •์‚ฌ๊ฐํ˜• ๋„“์ด์˜ 2๋ฐฐ์ผ ๋•Œ, ์›์˜ ๋ฐ˜์ง€๋ฆ„๊ณผ ์ •์‚ฌ๊ฐํ˜•์˜ ํ•œ ๋ณ€์˜ ๊ธธ์ด์˜ ๊ด€๊ณ„๋ฅผ ๊ตฌํ•˜์‹œ์˜ค.'"],
506
+ ["๋‹ค์Œ SQL ์ฟผ๋ฆฌ๋ฅผ ์ตœ์ ํ™”ํ•˜๊ณ  ๊ฐœ์„ ์ ์„ ์„ค๋ช…ํ•ด์ฃผ์„ธ์š”:\nSELECT * FROM orders o\nLEFT JOIN customers c ON o.customer_id = c.id\nWHERE YEAR(o.order_date) = 2023\nAND c.country = 'Korea'\nORDER BY o.order_date DESC;"],
507
+ ["ํ˜„๋Œ€ ๋ฌผ๋ฆฌํ•™์˜ ๊ฐ€์žฅ ํฐ ๋ฏธ์Šคํ„ฐ๋ฆฌ์ธ '์•”ํ‘ ๋ฌผ์งˆ'๊ณผ '์•”ํ‘ ์—๋„ˆ์ง€'์— ๋Œ€ํ•ด ์„ค๋ช…ํ•˜๊ณ , ์ด๋“ค์ด ์šฐ์ฃผ์˜ ๊ตฌ์กฐ์™€ ์ง„ํ™”์— ๋ฏธ์น˜๋Š” ์˜ํ–ฅ์„ ๋ถ„์„ํ•ด์ฃผ์„ธ์š”."],
508
+ ["๋‹ค์Œ ๋งˆ์ผ€ํŒ… ์บ ํŽ˜์ธ์˜ ROI๋ฅผ ๋ถ„์„ํ•˜๊ณ  ๊ฐœ์„ ๋ฐฉ์•ˆ์„ ์ œ์‹œํ•ด์ฃผ์„ธ์š”:\n์ด ๋น„์šฉ: 5000๋งŒ์›\n๋„๋‹ฌ์ž ์ˆ˜: 100๋งŒ๋ช…\nํด๋ฆญ๋ฅ : 2.3%\n์ „ํ™˜์œจ: 0.8%\nํ‰๊ท  ๊ตฌ๋งค์•ก: 35,000์›"],
509
  ],
510
  inputs=msg
511
  )
512
+
513
+
514
 
515
  # ์ด๋ฒคํŠธ ๋ฐ”์ธ๋”ฉ
516
  msg.submit(