arxivgpt kim commited on
Commit
c9d40d4
Β·
verified Β·
1 Parent(s): 10723c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -22
app.py CHANGED
@@ -71,26 +71,13 @@ footer {
71
  """
72
 
73
 
74
-
75
- # gr.Blocksλ₯Ό μ‚¬μš©ν•˜μ—¬ λ ˆμ΄μ•„μ›ƒμ„ κ΅¬μ„±ν•©λ‹ˆλ‹€.
76
  with gr.Blocks(css=css) as demo:
77
-
78
  gr.Markdown("# AIQ Codepilot", elem_id="markdown-title")
79
- gr.Markdown("### AI μžλ™ ν”„λ‘œκ·Έλž˜λ° μ„œλΉ„μŠ€: λ‚΄κ°€ λ§Œλ“€κ³  싢은 AI μ„œλΉ„μŠ€λ₯Ό AIμ—κ²Œ μž…λ ₯만 ν•˜λ©΄ μžλ™μœΌλ‘œ μ½”λ“œλ₯Ό μƒμ„±ν•˜κ³  μ‹€ν–‰ 방법을 μ•ˆλ‚΄ν•©λ‹ˆλ‹€.", elem_id="markdown-description")
80
 
81
  with gr.Row():
82
-
83
- text_input = gr.Textbox(
84
- label="λ©”μ‹œμ§€λ₯Ό μž…λ ₯ν•˜μ„Έμš”.",
85
- placeholder="여기에 μž…λ ₯ν•˜μ„Έμš”...",
86
- examples=[
87
- "ν…μŠ€νŠΈλ₯Ό μž…λ ₯ν•˜λ©΄ μŒμ„±μƒμ„±(\"gtts\") μ„œλΉ„μŠ€ 생성",
88
- "MBTI 20λ¬Έν•­μœΌλ‘œ 객관식 μ„ νƒμœΌλ‘œ κ²€μ‚¬ν•˜λŠ” μ„œλΉ„μŠ€ 생성",
89
- "쀑학ꡐ 1ν•™λ…„ μ˜μ–΄ μ‹œν—˜λ¬Έμ œ 10개λ₯Ό μΆœμ œν•˜κ³  객관식 선택과 μ±„μ ν•˜λŠ” μ„œλΉ„μŠ€ 생성"
90
- ]
91
- )
92
-
93
-
94
  with gr.Row():
95
  submit_button = gr.Button("전솑")
96
  output_html = gr.HTML(label="AI 응닡")
@@ -99,9 +86,4 @@ with gr.Blocks(css=css) as demo:
99
  fn=predict,
100
  inputs=text_input,
101
  outputs=output_html
102
- )
103
-
104
- # μΈν„°νŽ˜μ΄μŠ€ μ‹€ν–‰
105
- demo.launch()
106
-
107
-
 
71
  """
72
 
73
 
 
 
74
  with gr.Blocks(css=css) as demo:
75
+ # μ—¬κΈ°μ„œλΆ€ν„° λ“€μ—¬μ“°κΈ°λ₯Ό μ‹œμž‘ν•΄μ„œ 블둝을 κ΅¬μ„±ν•©λ‹ˆλ‹€.
76
  gr.Markdown("# AIQ Codepilot", elem_id="markdown-title")
77
+ gr.Markdown("### AI μžλ™ ν”„λ‘œκ·Έλž˜λ° μ„œλΉ„μŠ€", elem_id="markdown-description")
78
 
79
  with gr.Row():
80
+ text_input = gr.Textbox(label="λ©”μ‹œμ§€λ₯Ό μž…λ ₯ν•˜μ„Έμš”...", placeholder="여기에 μž…λ ₯ν•˜μ„Έμš”...", examples=["ν…μŠ€νŠΈλ₯Ό μž…λ ₯ν•˜λ©΄ μŒμ„±μƒμ„±('gtts') μ„œλΉ„μŠ€ 생성", "MBTI 20λ¬Έν•­μœΌλ‘œ κ²€μ‚¬ν•˜λŠ” μ„œλΉ„μŠ€ 생성", "μ΄ˆλ“±ν•™κ΅ μ˜μ–΄ μ‹œν—˜λ¬Έμ œ 10개λ₯Ό μΆœμ œν•˜κ³  객관식 선택과 μ±„μ ν•˜λŠ” μ„œλΉ„μŠ€ 생성"])
 
 
 
 
 
 
 
 
 
 
 
81
  with gr.Row():
82
  submit_button = gr.Button("전솑")
83
  output_html = gr.HTML(label="AI 응닡")
 
86
  fn=predict,
87
  inputs=text_input,
88
  outputs=output_html
89
+ )