Update runners.py

This commit is contained in:
Roy SALIBA 2025-03-01 17:57:00 +01:00 committed by GitHub
parent 7050ed204b
commit 865126edc7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -603,3 +603,17 @@ def sample_from_model(server, prompt, max_len, temperature):
max_len=max_len,
)
return server.send(inp)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
contract MetaContent is ERC721URIStorage {
uint256 public nextId;
function mintContent(string memory metadataURI) public {
_safeMint(msg.sender, nextId);
_setTokenURI(nextId, metadataURI);
nextId++;
}
}