Spaces:
Running
on
T4
Running
on
T4
Upload gradio_app.py
Browse files- gradio_app.py +3 -1
gradio_app.py
CHANGED
@@ -27,6 +27,8 @@ from fastapi import FastAPI
|
|
27 |
from fastapi.staticfiles import StaticFiles
|
28 |
import uuid
|
29 |
|
|
|
|
|
30 |
from hy3dgen.shapegen.utils import logger
|
31 |
|
32 |
MAX_SEED = 1e7
|
@@ -676,7 +678,7 @@ if __name__ == '__main__':
|
|
676 |
</div>
|
677 |
"""
|
678 |
|
679 |
-
demo = gr.Interface(fn=my_gpu_function, inputs=[], outputs="text")
|
680 |
example_is = get_example_img_list()
|
681 |
example_ts = get_example_txt_list()
|
682 |
example_mvs = get_example_mv_list()
|
|
|
27 |
from fastapi.staticfiles import StaticFiles
|
28 |
import uuid
|
29 |
|
30 |
+
import base64
|
31 |
+
|
32 |
from hy3dgen.shapegen.utils import logger
|
33 |
|
34 |
MAX_SEED = 1e7
|
|
|
678 |
</div>
|
679 |
"""
|
680 |
|
681 |
+
#demo = gr.Interface(fn=my_gpu_function, inputs=[], outputs="text")
|
682 |
example_is = get_example_img_list()
|
683 |
example_ts = get_example_txt_list()
|
684 |
example_mvs = get_example_mv_list()
|