vincentclaes commited on
Commit
90cb8eb
1 Parent(s): 44602c4

simplify tagging

Browse files
Files changed (3) hide show
  1. app.py +0 -8
  2. pyproject.toml +0 -1
  3. requirements.txt +1 -1
app.py CHANGED
@@ -51,10 +51,6 @@ title = "Tagging an Emoji"
51
  description = """You provide an Emoji and our few-shot fine tuned CLIP model will suggest some tags that are appropriate.\n
52
 
53
  - We use the [228 most common adjectives in english](https://grammar.yourdictionary.com/parts-of-speech/adjectives/list-of-adjective-words.html).\n
54
- - You can also specify your own custom tags. Try with;
55
-
56
- love,hate,fun,bitterness,passion,dying,bliss
57
-
58
  - We show max 10 tags and only when the confidence is higher than 5% (0.05)
59
 
60
  """
@@ -68,10 +64,6 @@ app = gr.Interface(
68
  fn=get_tag,
69
  inputs=[
70
  gr.components.Image(type="pil", label="emoji"),
71
- gr.components.Textbox(
72
- label="tags",
73
- placeholder="Provide a comma seperated list of tags; tag1,tag2,tag3,...",
74
- )
75
  ],
76
  outputs=gr.Textbox(),
77
  examples=examples,
 
51
  description = """You provide an Emoji and our few-shot fine tuned CLIP model will suggest some tags that are appropriate.\n
52
 
53
  - We use the [228 most common adjectives in english](https://grammar.yourdictionary.com/parts-of-speech/adjectives/list-of-adjective-words.html).\n
 
 
 
 
54
  - We show max 10 tags and only when the confidence is higher than 5% (0.05)
55
 
56
  """
 
64
  fn=get_tag,
65
  inputs=[
66
  gr.components.Image(type="pil", label="emoji"),
 
 
 
 
67
  ],
68
  outputs=gr.Textbox(),
69
  examples=examples,
pyproject.toml CHANGED
@@ -4,7 +4,6 @@ version = "0.1.0"
4
  description = ""
5
  authors = ["Vincent Claes <vincent.v.claes@gmail.com>"]
6
  readme = "README.md"
7
- packages = [{include = "emoji_tagging"}]
8
 
9
  [tool.poetry.dependencies]
10
  python = "^3.10"
 
4
  description = ""
5
  authors = ["Vincent Claes <vincent.v.claes@gmail.com>"]
6
  readme = "README.md"
 
7
 
8
  [tool.poetry.dependencies]
9
  python = "^3.10"
requirements.txt CHANGED
@@ -44,7 +44,7 @@ pandas==1.5.0
44
  paramiko==2.11.0
45
  pathspec==0.10.1
46
  Pillow==9.2.0
47
- pip==22.2.2
48
  platformdirs==2.5.2
49
  pycparser==2.21
50
  pycryptodome==3.15.0
 
44
  paramiko==2.11.0
45
  pathspec==0.10.1
46
  Pillow==9.2.0
47
+ pip==22.0.4
48
  platformdirs==2.5.2
49
  pycparser==2.21
50
  pycryptodome==3.15.0