Spaces:
Build error
Build error
Update app.py
Browse files
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"]
|
| 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()
|