Spaces:
Sleeping
Sleeping
Edward J. Schwartz
commited on
Commit
·
58773bb
1
Parent(s):
e611a8a
Import os
Browse files
app.py
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
|
|
|
|
|
|
|
3 |
import numpy
|
4 |
print(numpy.__version__)
|
5 |
|
@@ -13,8 +16,7 @@ model = gr.load("ejschwartz/oo-method-test-model-bylibrary", src="models")
|
|
13 |
# ],
|
14 |
# live=True, title="Is it a method or a function?").launch(server_name="0.0.0.0", server_port=7860)
|
15 |
|
16 |
-
|
17 |
-
anafile = NamedTemporaryFile(prefix=os.path.basename(bname) + "_", suffix=".bat_ana")
|
18 |
ananame = anafile.name
|
19 |
|
20 |
def get_all_dis(addrs=None):
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
import os
|
4 |
+
import tempfile
|
5 |
+
|
6 |
import numpy
|
7 |
print(numpy.__version__)
|
8 |
|
|
|
16 |
# ],
|
17 |
# live=True, title="Is it a method or a function?").launch(server_name="0.0.0.0", server_port=7860)
|
18 |
|
19 |
+
anafile = tempfile.NamedTemporaryFile(prefix=os.path.basename(bname) + "_", suffix=".bat_ana")
|
|
|
20 |
ananame = anafile.name
|
21 |
|
22 |
def get_all_dis(addrs=None):
|