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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -70,7 +70,7 @@ def gradio_generate_contents(user_content, brand_name, aspect_ratio):
70
  def gradio_generate_status(content_id):
71
  download_url = generate_status(content_id)
72
  markdown_text = "์ž๋™ ์ƒ์„ฑ๋œ ์˜์ƒ์— ๋Œ€ํ•œ ์ˆ˜์ • ๋ฐ ํŽธ์ง‘ ์š”์ฒญ ํด๋ฆญ: [์—ฌ๊ธฐ๋ฅผ ํด๋ฆญํ•˜์„ธ์š”](https://forms.gle/u9hPDFbntLEp8xH6A)"
73
-
74
  if download_url != 'FAILED':
75
  display_text = download_url[:10] + '...' if len(download_url) > 10 else download_url
76
  html_link = f'<a href="{download_url}" target="_blank">{display_text}</a>'
@@ -86,10 +86,10 @@ iface_create = gr.Interface(
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
 
94
  examples=[
95
  [
 
70
  def gradio_generate_status(content_id):
71
  download_url = generate_status(content_id)
72
  markdown_text = "์ž๋™ ์ƒ์„ฑ๋œ ์˜์ƒ์— ๋Œ€ํ•œ ์ˆ˜์ • ๋ฐ ํŽธ์ง‘ ์š”์ฒญ ํด๋ฆญ: [์—ฌ๊ธฐ๋ฅผ ํด๋ฆญํ•˜์„ธ์š”](https://forms.gle/u9hPDFbntLEp8xH6A)"
73
+
74
  if download_url != 'FAILED':
75
  display_text = download_url[:10] + '...' if len(download_url) > 10 else download_url
76
  html_link = f'<a href="{download_url}" target="_blank">{display_text}</a>'
 
86
  gr.TextArea(label="์ปจํ…์ธ  ํ…์ŠคํŠธ"),
87
  gr.Textbox(label="๋ธŒ๋žœ๋“œ๋ช…"),
88
  gr.Dropdown(label="ํ™”๋ฉด ๋น„์œจ", choices=['portrait', 'square', 'landscape'], value='landscape'),
 
 
89
  ],
90
+ outputs=[gr.Textbox(label="์ปจํ…์ธ  ID"),
91
+ gr.Markdown("๋น„๋””์˜ค ์Šคํฌ๋ฆฝํŠธ ์ž๋™ ์ƒ์„ฑ ํด๋ฆญ: [์—ฌ๊ธฐ๋ฅผ ํด๋ฆญํ•˜์„ธ์š”](https://seawolf2357-hyejascript.hf.space)")
92
+ ],
93
 
94
  examples=[
95
  [