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