Update app.py
Browse files
app.py
CHANGED
|
@@ -30,11 +30,11 @@ def main():
|
|
| 30 |
|
| 31 |
output = gr.Textbox()
|
| 32 |
|
| 33 |
-
# Launch the Gradio interface
|
| 34 |
gr.Interface(
|
| 35 |
fn=lambda feature1, feature2, feature3, feature4, feature5: predict(model, feature1, feature2, feature3, feature4, feature5),
|
| 36 |
inputs=inputs, outputs=output, live=True
|
| 37 |
-
).launch(
|
| 38 |
|
| 39 |
if __name__ == '__main__':
|
| 40 |
main()
|
|
|
|
| 30 |
|
| 31 |
output = gr.Textbox()
|
| 32 |
|
| 33 |
+
# Launch the Gradio interface without the gpu argument
|
| 34 |
gr.Interface(
|
| 35 |
fn=lambda feature1, feature2, feature3, feature4, feature5: predict(model, feature1, feature2, feature3, feature4, feature5),
|
| 36 |
inputs=inputs, outputs=output, live=True
|
| 37 |
+
).launch()
|
| 38 |
|
| 39 |
if __name__ == '__main__':
|
| 40 |
main()
|