jkorstad commited on
Commit
f144f7c
·
verified ·
1 Parent(s): 16e0235

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -31,7 +31,9 @@ categories = {
31
  'Text-to-Speech': ['tts', 'speech', 'voice', 'audio', 'kokoro'],
32
  'Transcription': ['transcribe', 'transcription'],
33
  'Agents': ['agent', 'agents', 'smol', 'multi-step', 'autobot', 'autoGPT' 'agentic'],
34
- 'Image Generation': ['stable-diffusion', 'diffusion', 'flux', 'dalle', 'CLIP', 'comic', 'gan', 'sdxl', 'midjourney', 'diffusion', 'image', 'img2img', 'style', 'art'],
 
 
35
  'Video': ['video', 'animation', 'motion', 'sora'],
36
  'Face/Portrait': ['face', 'portrait', 'gaze', 'facial'],
37
  'Chat/LLM': ['chat', 'llm', 'gpt', 'llama', 'text', 'language'],
@@ -118,7 +120,7 @@ def search_spaces(search_text, category):
118
  if search_text:
119
  spaces_df = spaces_df[spaces_df['title'].str.lower().str.contains(search_text.lower())]
120
 
121
- spaces = spaces_df.nlargest(30, 'likes')[['title', 'likes', 'url', 'category']]
122
 
123
  # Get category stats
124
  total_spaces = len(spaces_df)
 
31
  'Text-to-Speech': ['tts', 'speech', 'voice', 'audio', 'kokoro'],
32
  'Transcription': ['transcribe', 'transcription'],
33
  'Agents': ['agent', 'agents', 'smol', 'multi-step', 'autobot', 'autoGPT' 'agentic'],
34
+ 'Image Gen/Editing': ['stable-diffusion', 'diffusion', 'flux', 'dalle', 'CLIP',
35
+ 'comic', 'gan', 'sdxl', 'pic', 'img', 'stable', 'midjourney',
36
+ 'diffusion', 'image', 'ControlNet', 'Control Net' 'LoRA', 'img2img', 'style', 'art'],
37
  'Video': ['video', 'animation', 'motion', 'sora'],
38
  'Face/Portrait': ['face', 'portrait', 'gaze', 'facial'],
39
  'Chat/LLM': ['chat', 'llm', 'gpt', 'llama', 'text', 'language'],
 
120
  if search_text:
121
  spaces_df = spaces_df[spaces_df['title'].str.lower().str.contains(search_text.lower())]
122
 
123
+ spaces = spaces_df.nlargest(100, 'likes')[['title', 'likes', 'url', 'category']]
124
 
125
  # Get category stats
126
  total_spaces = len(spaces_df)