Spaces:
Runtime error
Runtime error
Incomplete
Browse files
app.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
from transformers import AutoModel
|
| 3 |
+
|
| 4 |
+
model = AutoModel.from_pretrained("keras-io/timeseries_transformer_classification")
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
iface = gr.Interface(fraud_detector,"dataframe",gr.outputs.Label(label="Fraud Level"))
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
iface.launch()
|