Spaces:
Runtime error
Runtime error
Commit
ยท
36e0165
1
Parent(s):
10670d6
Update app.py
Browse files
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="๋ธ๋๋๋ช
")], #
|
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 |
+
|