thak123 commited on
Commit
f83f10a
·
1 Parent(s): 905bb30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -112,9 +112,9 @@ def display_data(index):
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
 
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