Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,8 @@ def classify(item: str, categories: str) -> str:
|
|
8 |
result = classifier(item, categories_list, multi_label=False)
|
9 |
return result['labels'][0]
|
10 |
|
|
|
|
|
11 |
iface = gr.Interface(
|
12 |
fn=classify,
|
13 |
inputs=[
|
|
|
8 |
result = classifier(item, categories_list, multi_label=False)
|
9 |
return result['labels'][0]
|
10 |
|
11 |
+
print(classifier("Молоток"))
|
12 |
+
|
13 |
iface = gr.Interface(
|
14 |
fn=classify,
|
15 |
inputs=[
|