Update app.py
Browse files
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()
|