openfree commited on
Commit
f995c33
Β·
verified Β·
1 Parent(s): afc761a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
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
- current_panel = StoryboardPanel(panel_number=panel_number, scene_type="medium")
 
 
 
 
 
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
  ["폐ꡐ에 κ°‡νžŒ λ™μ°½νšŒ, ν•œ λͺ…μ”© 사라진닀", "슀릴러"],