ebelfrank commited on
Commit
0c6f353
·
verified ·
1 Parent(s): 20bac85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def predict(inputs):
13
  return prediction.tolist()
14
 
15
  # Create the Gradio interface
16
- input_features = gr.Dataframe(headers=["temperature", "humidity", "vibration_amplitude", "vibration_frequency", "sound_amplitude", "sound_frequency"], datatype="float")
17
  output_label = gr.Textbox()
18
 
19
  gr.Interface(fn=predict, inputs=input_features, outputs=output_label, title="Fiber Optic Intrusion Detection").launch()
 
13
  return prediction.tolist()
14
 
15
  # Create the Gradio interface
16
+ input_features = gr.Dataframe(headers=["temperature", "humidity", "vibration_amplitude", "vibration_frequency", "sound_amplitude", "sound_frequency"])
17
  output_label = gr.Textbox()
18
 
19
  gr.Interface(fn=predict, inputs=input_features, outputs=output_label, title="Fiber Optic Intrusion Detection").launch()