ใ……ใ…Žใ…‡ commited on
Commit
3f75209
ยท
1 Parent(s): 90f7b3d

Fix: Simplify Session ID input to match local dev version - Remove scale, container, and elem_id parameters - Use default Textbox behavior like local version

Browse files
Files changed (1) hide show
  1. CodeWeaver/ui/app.py +1 -10
CodeWeaver/ui/app.py CHANGED
@@ -45,12 +45,6 @@ CSS = """
45
  padding-top: 1.5rem;
46
  }
47
  .message { font-size: 1.1rem; line-height: 1.6; }
48
- /* Session ID ์ž…๋ ฅ ํ•„๋“œ ํฌ๊ธฐ ์กฐ์ • */
49
- #session_id_input input[type="text"],
50
- #session_id_input textarea {
51
- width: 100% !important;
52
- min-width: 600px !important;
53
- }
54
  """
55
 
56
 
@@ -145,10 +139,7 @@ def create_demo() -> gr.Blocks:
145
  label="Session ID (์ด ID๊ฐ€ ๊ฐ™์œผ๋ฉด ๋Œ€ํ™”๊ฐ€ ์œ ์ง€๋ฉ๋‹ˆ๋‹ค)",
146
  value=str(uuid.uuid4()),
147
  interactive=True,
148
- placeholder="์„ธ์…˜ ID๋ฅผ ์ž…๋ ฅํ•˜๊ฑฐ๋‚˜ ๊ทธ๋Œ€๋กœ ๋‘์„ธ์š”",
149
- scale=10,
150
- container=True,
151
- elem_id="session_id_input"
152
  )
153
 
154
  # 3. ์ฑ„ํŒ… ์ธํ„ฐํŽ˜์ด์Šค
 
45
  padding-top: 1.5rem;
46
  }
47
  .message { font-size: 1.1rem; line-height: 1.6; }
 
 
 
 
 
 
48
  """
49
 
50
 
 
139
  label="Session ID (์ด ID๊ฐ€ ๊ฐ™์œผ๋ฉด ๋Œ€ํ™”๊ฐ€ ์œ ์ง€๋ฉ๋‹ˆ๋‹ค)",
140
  value=str(uuid.uuid4()),
141
  interactive=True,
142
+ placeholder="์„ธ์…˜ ID๋ฅผ ์ž…๋ ฅํ•˜๊ฑฐ๋‚˜ ๊ทธ๋Œ€๋กœ ๋‘์„ธ์š”"
 
 
 
143
  )
144
 
145
  # 3. ์ฑ„ํŒ… ์ธํ„ฐํŽ˜์ด์Šค