Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def bergamot(input_text: str, sl: str = 'de', tl: str = 'en', model: Optional[st
|
|
67 |
# response = [r.target.text for r in model_response][0]
|
68 |
except Exception as error:
|
69 |
response = error
|
70 |
-
return {"input":
|
71 |
|
72 |
# Create an MCP server based on this app
|
73 |
mcp = FastApiMCP(
|
|
|
67 |
# response = [r.target.text for r in model_response][0]
|
68 |
except Exception as error:
|
69 |
response = error
|
70 |
+
return {"input": input_text, "result": response, "model": str(model)}
|
71 |
|
72 |
# Create an MCP server based on this app
|
73 |
mcp = FastApiMCP(
|