Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -97,7 +97,7 @@ for dog_i in [1, 2]:
|
|
| 97 |
examples.append([f'square_ims/imagenet_dog_{dog_i}.jpg', 'A dog', f'A {breed}', 0.8, 3])
|
| 98 |
|
| 99 |
|
| 100 |
-
description = '*This demo is temporarily suspended for internal reasons*
|
| 101 |
# description = gr.Markdown(description)
|
| 102 |
|
| 103 |
article = """
|
|
@@ -137,11 +137,10 @@ fn=edict, inputs=["image",
|
|
| 137 |
"""
|
| 138 |
iface = gr.Interface(fn=f,
|
| 139 |
inputs=[
|
| 140 |
-
|
| 141 |
],
|
| 142 |
# examples = examples,
|
| 143 |
outputs="str",
|
| 144 |
description=description,
|
| 145 |
-
article=article
|
| 146 |
-
cache_examples=False)
|
| 147 |
iface.launch()
|
|
|
|
| 97 |
examples.append([f'square_ims/imagenet_dog_{dog_i}.jpg', 'A dog', f'A {breed}', 0.8, 3])
|
| 98 |
|
| 99 |
|
| 100 |
+
description = '*This demo is temporarily suspended for internal reasons* A gradio demo for [EDICT](https://arxiv.org/abs/2211.12446) (CVPR23)'
|
| 101 |
# description = gr.Markdown(description)
|
| 102 |
|
| 103 |
article = """
|
|
|
|
| 137 |
"""
|
| 138 |
iface = gr.Interface(fn=f,
|
| 139 |
inputs=[
|
| 140 |
+
'str'
|
| 141 |
],
|
| 142 |
# examples = examples,
|
| 143 |
outputs="str",
|
| 144 |
description=description,
|
| 145 |
+
article=article)
|
|
|
|
| 146 |
iface.launch()
|