Spaces:
Sleeping
Sleeping
File size: 283 Bytes
220b4dd ffec641 220b4dd ffec641 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
from prediction import ModelPrediction
def main():
model = ModelPrediction()
response = model.make_prediction("Hi, how are you?", "llama-8")
print(response) # dict[response, response_parsed, cost]
if __name__ == "__main__":
main()
# do something with prompt
|