EstebanDC commited on
Commit
640f78e
1 Parent(s): a29535d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -41,6 +41,8 @@ def RCS(JET, Suelo,SPT, WtoC, Presion, Velocidad):
41
  prediction = modelodef.predict([[JET, Suelo,SPT, WtoC, Presion, Velocidad]])
42
  return prediction
43
 
 
 
44
 
45
  app = gr.Interface(
46
  RCS,
@@ -56,8 +58,11 @@ app = gr.Interface(
56
  gr.Number(value=1, label="W/C"),
57
  gr.Number(value=1, label="Grout pressure (MPa)"),
58
  gr.Number(value=1, label="Rotation speed (rpm)"),
 
59
  ],
60
  outputs=[gr.Text(label="UCS (MPa)")],
 
 
61
  )
62
 
63
  app.launch()
 
41
  prediction = modelodef.predict([[JET, Suelo,SPT, WtoC, Presion, Velocidad]])
42
  return prediction
43
 
44
+ title = "UCS"
45
+ description = "XXXXXXXXXXXXXXXXXXXXXXX."
46
 
47
  app = gr.Interface(
48
  RCS,
 
58
  gr.Number(value=1, label="W/C"),
59
  gr.Number(value=1, label="Grout pressure (MPa)"),
60
  gr.Number(value=1, label="Rotation speed (rpm)"),
61
+
62
  ],
63
  outputs=[gr.Text(label="UCS (MPa)")],
64
+ description=description,
65
+ article=article,
66
  )
67
 
68
  app.launch()