Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -739,7 +739,12 @@ Visually maximize emotions and action.
|
|
739 |
if current_panel:
|
740 |
panels.append(current_panel)
|
741 |
panel_number += 1
|
742 |
-
|
|
|
|
|
|
|
|
|
|
|
743 |
elif current_panel:
|
744 |
if 'μ΄λ―Έμ§ ν둬ννΈ:' in line or 'Image prompt:' in line:
|
745 |
current_panel.image_prompt = line.split(':', 1)[1].strip()
|
@@ -1099,7 +1104,7 @@ def create_interface():
|
|
1099 |
examples=[
|
1100 |
["μ¬λ² 3μΈ μμ¬μ μ μ
μ¬μμ λΉλ° κ³μ½μ°μ ", "λ‘맨μ€"],
|
1101 |
["μ
λ
λ‘ λΉμνλλ° 1λ
ν μ²ν μμ ", "λ‘ν"],
|
1102 |
-
["FκΈ νν°κ° SSSκΈ λ€ν¬λ‘맨μλ‘ κ°μ±", "ννμ§"],
|
1103 |
["무λ₯λ ₯μμΈ μ€ μμλλ° SSSκΈ μμ°μ§", "νν"],
|
1104 |
["μ²νμ μΌλ¬Έ λ§λ΄κ° λ§κ΅ κ΅μ£Ό μ μκ° λλ€", "무ν"],
|
1105 |
["νκ΅μ κ°ν λμ°½ν, ν λͺ
μ© μ¬λΌμ§λ€", "μ€λ¦΄λ¬"],
|
|
|
739 |
if current_panel:
|
740 |
panels.append(current_panel)
|
741 |
panel_number += 1
|
742 |
+
# Initialize with empty image_prompt as required argument
|
743 |
+
current_panel = StoryboardPanel(
|
744 |
+
panel_number=panel_number,
|
745 |
+
scene_type="medium",
|
746 |
+
image_prompt="" # Initialize with empty string
|
747 |
+
)
|
748 |
elif current_panel:
|
749 |
if 'μ΄λ―Έμ§ ν둬ννΈ:' in line or 'Image prompt:' in line:
|
750 |
current_panel.image_prompt = line.split(':', 1)[1].strip()
|
|
|
1104 |
examples=[
|
1105 |
["μ¬λ² 3μΈ μμ¬μ μ μ
μ¬μμ λΉλ° κ³μ½μ°μ ", "λ‘맨μ€"],
|
1106 |
["μ
λ
λ‘ λΉμνλλ° 1λ
ν μ²ν μμ ", "λ‘ν"],
|
1107 |
+
["FκΈ νν°κ° SSSκΈ λ€ν¬λ‘맨μλ‘ κ°μ±", "ννμ§"],
|
1108 |
["무λ₯λ ₯μμΈ μ€ μμλλ° SSSκΈ μμ°μ§", "νν"],
|
1109 |
["μ²νμ μΌλ¬Έ λ§λ΄κ° λ§κ΅ κ΅μ£Ό μ μκ° λλ€", "무ν"],
|
1110 |
["νκ΅μ κ°ν λμ°½ν, ν λͺ
μ© μ¬λΌμ§λ€", "μ€λ¦΄λ¬"],
|