cipherunhsiv commited on
Commit
a84bc45
·
verified ·
1 Parent(s): f5392c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -40,7 +40,11 @@ iface = gr.Interface(
40
  inputs=inputs,
41
  outputs=output,
42
  title="ML Model Predictor",
 
 
 
 
43
  description="Enter the 8 feature values to get a prediction."
44
  )
45
 
46
- iface.launch(share=True)
 
40
  inputs=inputs,
41
  outputs=output,
42
  title="ML Model Predictor",
43
+ examples=[['-2.00E-05, 1.00E-05, 0.00022, 0.00018, -0.00015, -5.00E-05, 1.00E-05, 0'],
44
+ ['0.00016, -1.00E-04, -0.00024, 2.00E-04, 1.00E-04, -9.00E-05, -5.00E-05, -5.00E-05'],
45
+ ['-1.00E-05, 1.00E-05, 1.00E-05, 0, -2.00E-05, 0, -3.00E-05, -3.00E-05']],
46
+ flagging_options=["Working", "Not Wotking"],
47
  description="Enter the 8 feature values to get a prediction."
48
  )
49
 
50
+ iface.launch(auth=('emg','emg123'), auth_message="Type in your <strong>login credentials</strong>")