Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1389,19 +1389,6 @@ def create_interface():
|
|
1389 |
current_prompt = line.split(':', 1)[1].strip()
|
1390 |
|
1391 |
|
1392 |
-
for line in lines:
|
1393 |
-
if '패널' in line or 'Panel' in line:
|
1394 |
-
if current_prompt and current_panel_num > 0:
|
1395 |
-
panel_prompts.append({
|
1396 |
-
'panel_id': f"ep1_panel{current_panel_num}",
|
1397 |
-
'panel_num': current_panel_num,
|
1398 |
-
'prompt': current_prompt
|
1399 |
-
})
|
1400 |
-
current_panel_num += 1
|
1401 |
-
current_prompt = ""
|
1402 |
-
elif '이미지 프롬프트:' in line or 'Image prompt:' in line:
|
1403 |
-
current_prompt = line.split(':', 1)[1].strip()
|
1404 |
-
|
1405 |
# Add last panel if exists
|
1406 |
if current_prompt and current_panel_num > 0:
|
1407 |
panel_prompts.append({
|
|
|
1389 |
current_prompt = line.split(':', 1)[1].strip()
|
1390 |
|
1391 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1392 |
# Add last panel if exists
|
1393 |
if current_prompt and current_panel_num > 0:
|
1394 |
panel_prompts.append({
|