akman12914
commited on
Commit
·
3639967
1
Parent(s):
4e4e6af
duplication delete
Browse files
app.py
CHANGED
|
@@ -241,7 +241,7 @@ demo = gr.Interface(fn=sepia,
|
|
| 241 |
examples=["image1.jpg", "image2.jpg", "image3.jpg", "image4.jpg"],
|
| 242 |
allow_flagging='never')
|
| 243 |
|
| 244 |
-
with gr.Blocks() as
|
| 245 |
gr.Markdown("Start typing below and then click **방명록** to see the output.")
|
| 246 |
with gr.Row():
|
| 247 |
inp = gr.Textbox(placeholder="방문을 환영합니다. 성함이 어떻게 되세요?")
|
|
@@ -249,5 +249,6 @@ with gr.Blocks() as demo:
|
|
| 249 |
btn = gr.Button("방명록")
|
| 250 |
btn.click(fn=update, inputs=inp, outputs=out)
|
| 251 |
|
| 252 |
-
|
| 253 |
demo.launch()
|
|
|
|
|
|
| 241 |
examples=["image1.jpg", "image2.jpg", "image3.jpg", "image4.jpg"],
|
| 242 |
allow_flagging='never')
|
| 243 |
|
| 244 |
+
with gr.Blocks() as visit:
|
| 245 |
gr.Markdown("Start typing below and then click **방명록** to see the output.")
|
| 246 |
with gr.Row():
|
| 247 |
inp = gr.Textbox(placeholder="방문을 환영합니다. 성함이 어떻게 되세요?")
|
|
|
|
| 249 |
btn = gr.Button("방명록")
|
| 250 |
btn.click(fn=update, inputs=inp, outputs=out)
|
| 251 |
|
| 252 |
+
visit.launch()
|
| 253 |
demo.launch()
|
| 254 |
+
|