seawolf2357 commited on
Commit
65c6bb7
ยท
verified ยท
1 Parent(s): 1ecbf86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -79,7 +79,6 @@ def gradio_generate_status(content_id):
79
  else:
80
  return "์ปจํ…์ธ  ์ƒ์„ฑ ์‹คํŒจ ๋˜๋Š” ID๊ฐ€ ์ž˜๋ชป๋˜์—ˆ์Šต๋‹ˆ๋‹ค.", markdown_text
81
 
82
- # ์ปจํ…์ธ  ์ƒ์„ฑ ์ธํ„ฐํŽ˜์ด์Šค
83
  # ์ปจํ…์ธ  ์ƒ์„ฑ ์ธํ„ฐํŽ˜์ด์Šค
84
  iface_create = gr.Interface(
85
  fn=gradio_generate_contents,
@@ -87,7 +86,8 @@ iface_create = gr.Interface(
87
  gr.TextArea(label="์ปจํ…์ธ  ํ…์ŠคํŠธ"),
88
  gr.Textbox(label="๋ธŒ๋žœ๋“œ๋ช…"),
89
  gr.Dropdown(label="ํ™”๋ฉด ๋น„์œจ", choices=['portrait', 'square', 'landscape'], value='landscape'),
90
- gr.Markdown("๋น„๋””์˜ค ์Šคํฌ๋ฆฝํŠธ ์ž๋™ ์ƒ์„ฑ ํด๋ฆญ: [์—ฌ๊ธฐ๋ฅผ ํด๋ฆญํ•˜์„ธ์š”](https://seawolf2357-hyejascript.hf.space)")
 
91
  ],
92
  outputs=gr.Textbox(label="์ปจํ…์ธ  ID"),
93
 
 
79
  else:
80
  return "์ปจํ…์ธ  ์ƒ์„ฑ ์‹คํŒจ ๋˜๋Š” ID๊ฐ€ ์ž˜๋ชป๋˜์—ˆ์Šต๋‹ˆ๋‹ค.", markdown_text
81
 
 
82
  # ์ปจํ…์ธ  ์ƒ์„ฑ ์ธํ„ฐํŽ˜์ด์Šค
83
  iface_create = gr.Interface(
84
  fn=gradio_generate_contents,
 
86
  gr.TextArea(label="์ปจํ…์ธ  ํ…์ŠคํŠธ"),
87
  gr.Textbox(label="๋ธŒ๋žœ๋“œ๋ช…"),
88
  gr.Dropdown(label="ํ™”๋ฉด ๋น„์œจ", choices=['portrait', 'square', 'landscape'], value='landscape'),
89
+ gr.Markdown("๋น„๋””์˜ค ์Šคํฌ๋ฆฝํŠธ ์ž๋™ ์ƒ์„ฑ ํด๋ฆญ: [์—ฌ๊ธฐ๋ฅผ ํด๋ฆญํ•˜์„ธ์š”](https://seawolf2357-hyejascript.hf.space)")
90
+ # ์ถ”๊ฐ€์ ์ธ ์ธ์ž๊ฐ€ ์—†๋Š”์ง€ ํ™•์ธ
91
  ],
92
  outputs=gr.Textbox(label="์ปจํ…์ธ  ID"),
93