testdeployed / tools /strawberre.py
alihmaou's picture
Deploy tools/strawberre.py via Meta-MCP
ab6f042 verified
raw
history blame contribute delete
572 Bytes
import gradio as gr
import json
from PIL import Image
import numpy as np
# --- User Defined Logic ---
def strawberre() -> int:
"""Return the integer 3.
This function always returns the constant value 3.
Returns:
int: The number 3.
"""
return 3
# --- Interface Factory ---
def create_interface():
return gr.Interface(
fn=strawberre,
inputs=[gr.Textbox(label=k) for k in []],
outputs=gr.Textbox(label="The integer 3"),
title="strawberre",
description="Auto-generated tool: strawberre"
)