noumanjavaid commited on
Commit
55dee05
·
verified ·
1 Parent(s): f1337e5

Update app.py

Browse files

onclick="updateIframe('{card['url']}'); return false;"

Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -153,9 +153,5 @@ function updateIframe(url) {
153
  """
154
 
155
  if __name__ == "__main__":
156
-
157
- app.launch(
158
- show_error=False,
159
- show_api=False,
160
- _js=js # Include JavaScript for updating the iframe
161
- )
 
153
  """
154
 
155
  if __name__ == "__main__":
156
+ demo = create_interface()
157
+ demo.launch(show_error=False, show_api=False, _js=js)