Justin-J commited on
Commit
dc9fc4c
1 Parent(s): 75e1f0d

Update my Project file.

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,6 +1,9 @@
1
  import gradio as gr
2
  import pandas as pd
3
  import pickle
 
 
 
4
 
5
  IMAGENET_1K_URL ="https://user-images.githubusercontent.com/115732734/271723332-6c824e95-5e2f-48ec-af1c-b66ac7db1d7a.jpeg"
6
 
@@ -85,4 +88,4 @@ def predict_churn(gender, SeniorCitizen, Partner, Dependents, tenure,
85
 
86
  # Launch the Gradio app
87
  iface = gr.Interface(predict_churn, inputs=input_components, outputs=output_components)
88
- iface.launch(inbrowser= True, show_error= True, share= True)
 
1
  import gradio as gr
2
  import pandas as pd
3
  import pickle
4
+ import torch
5
+ from tim import create_model
6
+ from tim.data import create_transform
7
 
8
  IMAGENET_1K_URL ="https://user-images.githubusercontent.com/115732734/271723332-6c824e95-5e2f-48ec-af1c-b66ac7db1d7a.jpeg"
9
 
 
88
 
89
  # Launch the Gradio app
90
  iface = gr.Interface(predict_churn, inputs=input_components, outputs=output_components)
91
+ iface.launch(inbrowser= True, show_error= True)