Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -112,9 +112,9 @@ def display_data(index):
|
|
112 |
iface = gr.Interface(
|
113 |
display_data,
|
114 |
[
|
115 |
-
gr.
|
116 |
-
gr.
|
117 |
-
gr.
|
118 |
],
|
119 |
live=False, # To avoid auto-refresh when input changes
|
120 |
examples=[(0,), (1,), (2,)], # Provide initial examples
|
|
|
112 |
iface = gr.Interface(
|
113 |
display_data,
|
114 |
[
|
115 |
+
gr.component(label="Word and Translation", type="text", name="word_translation"),
|
116 |
+
gr.component(label="Image", type="image", name="image"),
|
117 |
+
gr.component(label="Website Link", type="text", name="website_link"),
|
118 |
],
|
119 |
live=False, # To avoid auto-refresh when input changes
|
120 |
examples=[(0,), (1,), (2,)], # Provide initial examples
|