longlian commited on
Commit
d9d9e1e
·
1 Parent(s): c62168d
app.py CHANGED
@@ -158,8 +158,7 @@ if __name__ == "__main__":
158
 
159
  for route in demo.app.routes:
160
  if route.path == "/":
161
- # demo.app.routes.remove(route)
162
- route.path = "/gradio"
163
  demo.app.mount("/", StaticFiles(directory="dist", html=True), name="demo")
164
 
165
  demo._block_thread()
 
158
 
159
  for route in demo.app.routes:
160
  if route.path == "/":
161
+ demo.app.routes.remove(route)
 
162
  demo.app.mount("/", StaticFiles(directory="dist", html=True), name="demo")
163
 
164
  demo._block_thread()
dist/.DS_Store DELETED
Binary file (6.15 kB)
 
dist/index.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html lang="en" dir="ltr" prefix="og: https://ogp.me/ns#" class="w-full h-full"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><title>Describe Anything Demo</title><meta property="og:type" content="website"/><meta property="og:title" content="Describe Anything Demo"/><script defer="defer" src="/js/bundle.78571a7d94a9b63a6660.min.js"></script></head><body class="w-full h-full"><div id="root" class="w-full h-full"></div></body></html>
 
1
+ <!doctype html><html lang="en" dir="ltr" prefix="og: https://ogp.me/ns#" class="w-full h-full"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><title>Describe Anything Demo</title><meta property="og:type" content="website"/><meta property="og:title" content="Describe Anything Demo"/><script defer="defer" src="/js/bundle.76f2bf873453702a499e.min.js"></script></head><body class="w-full h-full"><div id="root" class="w-full h-full"></div></body></html>
dist/js/bundle.76f2bf873453702a499e.min.js ADDED
The diff for this file is too large to render. See raw diff
 
dist/js/{bundle.78571a7d94a9b63a6660.min.js.LICENSE.txt → bundle.76f2bf873453702a499e.min.js.LICENSE.txt} RENAMED
File without changes
dist/js/{bundle.78571a7d94a9b63a6660.min.js.map → bundle.76f2bf873453702a499e.min.js.map} RENAMED
The diff for this file is too large to render. See raw diff
 
dist/js/bundle.78571a7d94a9b63a6660.min.js DELETED
The diff for this file is too large to render. See raw diff