Spaces:
Running
on
Zero
Running
on
Zero
Update
Browse files- app.py +1 -2
- dist/.DS_Store +0 -0
- dist/index.html +1 -1
- dist/js/bundle.76f2bf873453702a499e.min.js +0 -0
- dist/js/{bundle.78571a7d94a9b63a6660.min.js.LICENSE.txt → bundle.76f2bf873453702a499e.min.js.LICENSE.txt} +0 -0
- dist/js/{bundle.78571a7d94a9b63a6660.min.js.map → bundle.76f2bf873453702a499e.min.js.map} +0 -0
- dist/js/bundle.78571a7d94a9b63a6660.min.js +0 -0
app.py
CHANGED
@@ -158,8 +158,7 @@ if __name__ == "__main__":
|
|
158 |
|
159 |
for route in demo.app.routes:
|
160 |
if route.path == "/":
|
161 |
-
|
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.
|
|
|
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
|
|