Q-bert commited on
Commit
1fb31ed
·
1 Parent(s): 72af5af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -1,3 +1,11 @@
1
  import pickle
2
  with open("earthquake_model.pkl", 'rb') as file:
3
- loaded_model = pickle.load(file)
 
 
 
 
 
 
 
 
 
1
  import pickle
2
  with open("earthquake_model.pkl", 'rb') as file:
3
+ loaded_model = pickle.load(file)
4
+ import gradio as gr
5
+
6
+ def greet(name):
7
+ return "Hello " + name + "!"
8
+
9
+ demo = gr.Interface(fn=greet, inputs="text", outputs="text")
10
+
11
+ demo.launch()