Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import gradio as gr
|
|
8 |
|
9 |
def classify_text(text1, text2):
|
10 |
# Load pre-trained model
|
11 |
-
model = gr.
|
12 |
|
13 |
# Perform classification on input text
|
14 |
output = model.predict([text1, text2])[0]
|
|
|
8 |
|
9 |
def classify_text(text1, text2):
|
10 |
# Load pre-trained model
|
11 |
+
model = gr.Interface.load("models/sileod/deberta-v3-base-tasksource-nli")
|
12 |
|
13 |
# Perform classification on input text
|
14 |
output = model.predict([text1, text2])[0]
|