Spaces:
Sleeping
Sleeping
fix
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
|
|
4 |
pipe = pipeline("text-classification", model="agentlans/snowflake-arctic-xs-grammar-classifier")
|
5 |
|
6 |
def process(text):
|
7 |
-
predictions =
|
8 |
return predictions
|
9 |
|
10 |
demo = gr.Interface(
|
|
|
4 |
pipe = pipeline("text-classification", model="agentlans/snowflake-arctic-xs-grammar-classifier")
|
5 |
|
6 |
def process(text):
|
7 |
+
predictions = pipe(text)
|
8 |
return predictions
|
9 |
|
10 |
demo = gr.Interface(
|