malusama's picture
Fix Gradio and Python version compatibility
012d53f verified

A newer version of the Gradio SDK is available: 6.10.0

Upgrade
metadata
title: M2-Encoder 0.4B Demo
emoji: 🖼️
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 4.44.1
python_version: 3.11
app_file: app.py
pinned: false
short_description: Chinese image-text retrieval demo for M2-Encoder 0.4B

M2-Encoder 0.4B Demo

This Space runs malusama/M2-Encoder-0.4B on Hugging Face Spaces CPU Basic.

What it does:

  • Upload one image
  • Enter candidate labels in Chinese or English
  • Return raw similarity scores and softmax probabilities

Notes:

  • The first request after startup can be slow because the model must load on CPU.
  • This demo is intended for low-frequency testing rather than production traffic.