Spaces:
Running
Running
Commit
•
a919d64
1
Parent(s):
2f8989d
test
Browse files
app.py
CHANGED
@@ -78,10 +78,10 @@ def run_benchmark(kwargs, oauth_token: gr.OAuthToken):
|
|
78 |
else:
|
79 |
continue
|
80 |
|
81 |
-
for
|
82 |
-
for
|
83 |
-
if "kwargs" in
|
84 |
-
configs[
|
85 |
|
86 |
configs["process"] = ProcessConfig(**configs.pop("process"))
|
87 |
configs["inference"] = InferenceConfig(**configs.pop("inference"))
|
|
|
78 |
else:
|
79 |
continue
|
80 |
|
81 |
+
for key in configs.keys():
|
82 |
+
for k, v in configs[key].items():
|
83 |
+
if "kwargs" in k:
|
84 |
+
configs[key][k] = eval(v)
|
85 |
|
86 |
configs["process"] = ProcessConfig(**configs.pop("process"))
|
87 |
configs["inference"] = InferenceConfig(**configs.pop("inference"))
|