Spaces:
Runtime error
Runtime error
ivelin
commited on
Commit
·
a218a91
1
Parent(s):
7d6913a
fix: cleanup
Browse filesSigned-off-by: ivelin <ivelin.eth@gmail.com>
app.py
CHANGED
|
@@ -78,8 +78,12 @@ examples = [
|
|
| 78 |
["example_2.jpg", "enter the text field next to the name"]
|
| 79 |
],
|
| 80 |
|
| 81 |
-
demo = gr.Interface(fn=process_refexp,
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
demo.launch(cache_examples=True)
|
|
|
|
| 78 |
["example_2.jpg", "enter the text field next to the name"]
|
| 79 |
],
|
| 80 |
|
| 81 |
+
demo = gr.Interface(fn=process_refexp,
|
| 82 |
+
inputs=["image", "text"],
|
| 83 |
+
outputs=["image", "json"],
|
| 84 |
+
title=title,
|
| 85 |
+
description=description,
|
| 86 |
+
article=article,
|
| 87 |
+
examples=examples)
|
| 88 |
+
|
| 89 |
demo.launch(cache_examples=True)
|