Gregoryjr commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ if con:
|
|
| 36 |
outputs = model(**inputs)
|
| 37 |
probs = outputs.logits.softmax(dim=1)
|
| 38 |
return probs.detach().numpy()[0]
|
| 39 |
-
|
| 40 |
def find_largest_number(numbers):
|
| 41 |
if not numbers:
|
| 42 |
print("List is empty.")
|
|
|
|
| 36 |
outputs = model(**inputs)
|
| 37 |
probs = outputs.logits.softmax(dim=1)
|
| 38 |
return probs.detach().numpy()[0]
|
| 39 |
+
probs = classify_sentence(text)
|
| 40 |
def find_largest_number(numbers):
|
| 41 |
if not numbers:
|
| 42 |
print("List is empty.")
|