app.py
CHANGED
|
@@ -92,18 +92,3 @@ with demo:
|
|
| 92 |
example_images.click(fn=set_example_image, inputs=[example_images], outputs=example_images.components)
|
| 93 |
|
| 94 |
demo.launch()
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
interface = gr.Interface(
|
| 98 |
-
fn=predict,
|
| 99 |
-
inputs=input,
|
| 100 |
-
outputs="textbox",
|
| 101 |
-
title=title,
|
| 102 |
-
description=description,
|
| 103 |
-
examples=example_images,
|
| 104 |
-
examples_per_page=20,
|
| 105 |
-
live=True,
|
| 106 |
-
article='<p>Made by: <a href="https://twitter.com/kartik_godawat" target="_blank" rel="noopener noreferrer">dk-crazydiv</a> and <a href="https://twitter.com/dsr_ai" target="_blank" rel="noopener noreferrer">dsr</a></p>'
|
| 107 |
-
)
|
| 108 |
-
|
| 109 |
-
interface.launch()
|
|
|
|
| 92 |
example_images.click(fn=set_example_image, inputs=[example_images], outputs=example_images.components)
|
| 93 |
|
| 94 |
demo.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|