FiendFlb commited on
Commit
d752b8b
·
verified ·
1 Parent(s): bd92a3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -120,4 +120,5 @@ if __name__ == "__main__":
120
  # Train the model
121
  model = train_model(dataset)
122
 
123
- # Create
 
 
120
  # Train the model
121
  model = train_model(dataset)
122
 
123
+ # Create a Gradio interface for prediction
124
+ gr.Interface(fn=predict, inputs=gr.Textbox(), outputs="text").launch()