seawolf2357 commited on
Commit
36e0165
ยท
1 Parent(s): 10670d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -171,10 +171,12 @@ def gradio_generate_contents(user_content, brand_name):
171
  def gradio_generate_status(content_id):
172
  return generate_status(content_id)
173
 
 
 
174
  # Gradio ์ธํ„ฐํŽ˜์ด์Šค ์ˆ˜์ •
175
  iface = gr.Interface(
176
  fn=gradio_generate_contents, # ์ปจํ…์ธ  ์ƒ์„ฑ ํ•จ์ˆ˜
177
- inputs=[gr.TextArea(label="์ปจํ…์ธ  ํ…์ŠคํŠธ"), gr.Textbox(label="๋ธŒ๋žœ๋“œ๋ช…")], # TextArea๋กœ ๋ฉ€ํ‹ฐ๋ผ์ธ ์ž…๋ ฅ
178
  outputs=gr.Textbox(label="์ปจํ…์ธ  ID")
179
  )
180
 
@@ -187,3 +189,4 @@ status_iface = gr.Interface(
187
  # ์ธํ„ฐํŽ˜์ด์Šค ์‹คํ–‰
188
  iface.launch()
189
  status_iface.launch()
 
 
171
  def gradio_generate_status(content_id):
172
  return generate_status(content_id)
173
 
174
+ # ... ์ด์ „ ์ฝ”๋“œ ...
175
+
176
  # Gradio ์ธํ„ฐํŽ˜์ด์Šค ์ˆ˜์ •
177
  iface = gr.Interface(
178
  fn=gradio_generate_contents, # ์ปจํ…์ธ  ์ƒ์„ฑ ํ•จ์ˆ˜
179
+ inputs=[gr.TextArea(label="์ปจํ…์ธ  ํ…์ŠคํŠธ"), gr.Textbox(label="๋ธŒ๋žœ๋“œ๋ช…")], # ๋ฉ€ํ‹ฐ๋ผ์ธ ํ…์ŠคํŠธ ์ž…๋ ฅ ๋ฐ ๋ธŒ๋žœ๋“œ๋ช… ์ž…๋ ฅ
180
  outputs=gr.Textbox(label="์ปจํ…์ธ  ID")
181
  )
182
 
 
189
  # ์ธํ„ฐํŽ˜์ด์Šค ์‹คํ–‰
190
  iface.launch()
191
  status_iface.launch()
192
+