Spaces:
Sleeping
Sleeping
Update app/static/editor/js/editor-rest.js
Browse files
app/static/editor/js/editor-rest.js
CHANGED
|
@@ -6,7 +6,7 @@ Oid.customize('oid:rest', {
|
|
| 6 |
api: {
|
| 7 |
oas: {
|
| 8 |
paths: {
|
| 9 |
-
'https://
|
| 10 |
'post': {
|
| 11 |
operationId: 'train',
|
| 12 |
parameters: [
|
|
@@ -19,7 +19,7 @@ Oid.customize('oid:rest', {
|
|
| 19 |
]
|
| 20 |
}
|
| 21 |
},
|
| 22 |
-
'https://
|
| 23 |
'get': {
|
| 24 |
operationId: 'predict',
|
| 25 |
parameters: [
|
|
@@ -48,12 +48,12 @@ Oid.customize('oid:rest', {
|
|
| 48 |
api: {
|
| 49 |
oas: {
|
| 50 |
paths: {
|
| 51 |
-
'https://
|
| 52 |
'post': {
|
| 53 |
operationId: 'train'
|
| 54 |
}
|
| 55 |
},
|
| 56 |
-
'https://
|
| 57 |
'post': {
|
| 58 |
operationId: 'temperature',
|
| 59 |
parameters: [
|
|
@@ -63,7 +63,7 @@ Oid.customize('oid:rest', {
|
|
| 63 |
]
|
| 64 |
}
|
| 65 |
},
|
| 66 |
-
'https://
|
| 67 |
'post': {
|
| 68 |
operationId: 'pressure',
|
| 69 |
parameters: [
|
|
|
|
| 6 |
api: {
|
| 7 |
oas: {
|
| 8 |
paths: {
|
| 9 |
+
'https://LucasPinhheiro-factory-ml.hf.space/train?train_path={train_path}&test_path={test_path}': {
|
| 10 |
'post': {
|
| 11 |
operationId: 'train',
|
| 12 |
parameters: [
|
|
|
|
| 19 |
]
|
| 20 |
}
|
| 21 |
},
|
| 22 |
+
'https://LucasPinhheiro-factory-ml.hf.space/predict?radius_mean={radius_mean}&texture_mean={texture_mean}&symmetry_mean={symmetry_mean}&fractal_dimension_mean={fractal_dimension_mean}': {
|
| 23 |
'get': {
|
| 24 |
operationId: 'predict',
|
| 25 |
parameters: [
|
|
|
|
| 48 |
api: {
|
| 49 |
oas: {
|
| 50 |
paths: {
|
| 51 |
+
'https://LucasPinhheiro-factory-ml.hf.space/train': {
|
| 52 |
'post': {
|
| 53 |
operationId: 'train'
|
| 54 |
}
|
| 55 |
},
|
| 56 |
+
'https://LucasPinhheiro-factory-ml.hf.space/inform_temperature?value={value}': {
|
| 57 |
'post': {
|
| 58 |
operationId: 'temperature',
|
| 59 |
parameters: [
|
|
|
|
| 63 |
]
|
| 64 |
}
|
| 65 |
},
|
| 66 |
+
'https://LucasPinhheiro-factory-ml.hf.space/inform_pressure?value={value}': {
|
| 67 |
'post': {
|
| 68 |
operationId: 'pressure',
|
| 69 |
parameters: [
|