Spaces:
brianmg
/
Runtime error

brianmg commited on
Commit
87a66ae
β€’
1 Parent(s): 4d76474
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -107,6 +107,7 @@ def sepia(input_img):
107
  # outputs=['plot'],
108
  # examples=["22.jpg", "33.jpg"],
109
  # allow_flagging='never')
 
110
  demo = gr.Interface(
111
  fn=sepia,
112
  inputs=gr.Image(shape=(400, 600)),
@@ -118,6 +119,8 @@ demo = gr.Interface(
118
  theme="huggingface",
119
  live=True, # μ‹€μ‹œκ°„ μ—…λ°μ΄νŠΈ ν™œμ„±ν™”
120
  interpretation="default", # λ˜λŠ” 'none'으둜 μ„€μ •ν•˜μ—¬ 해석 κΈ°λŠ₯ λΉ„ν™œμ„±ν™”
 
121
  )
122
 
 
123
  demo.launch()
 
107
  # outputs=['plot'],
108
  # examples=["22.jpg", "33.jpg"],
109
  # allow_flagging='never')
110
+
111
  demo = gr.Interface(
112
  fn=sepia,
113
  inputs=gr.Image(shape=(400, 600)),
 
119
  theme="huggingface",
120
  live=True, # μ‹€μ‹œκ°„ μ—…λ°μ΄νŠΈ ν™œμ„±ν™”
121
  interpretation="default", # λ˜λŠ” 'none'으둜 μ„€μ •ν•˜μ—¬ 해석 κΈ°λŠ₯ λΉ„ν™œμ„±ν™”
122
+ layout="horizontal", # 'horizontal' λ˜λŠ” 'vertical'둜 μ„€μ • κ°€λŠ₯
123
  )
124
 
125
+
126
  demo.launch()