File size: 241 Bytes
f090db9
 
5dd2177
f090db9
5dd2177
1b4f1a9
5dd2177
 
 
 
1
2
3
4
5
6
7
8
9
10
11
from gradio_client import Client

client = Client("https://huggingface.co/spaces/wiklif/mixtral-api")

# Przykładowe dane wejściowe
prompt = "Wymień 10 stanów USA"
history = []

response = client.predict(prompt, history)
print(response)