hh1199 commited on
Commit
1515adb
·
verified ·
1 Parent(s): 7056b0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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=[