Spaces:
Sleeping
Sleeping
ใ
ใ
ใ
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- 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. ์ฑํ
์ธํฐํ์ด์ค
|