Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,10 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
model_path = "models/hassaanik/Language_Identifier"
|
4 |
+
model = gr.Model.load(model_path)
|
5 |
+
iface = gr.Interface(
|
6 |
+
fn=model.predict,
|
7 |
+
inputs="text",
|
8 |
+
outputs="text"
|
9 |
+
)
|
10 |
+
iface.launch()
|