Spaces:
Running
Running
File size: 312 Bytes
3567e13 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
from gradio_client import Client
# ==========TEST API==========
def response_gui(input_text):
client = Client("wendellast/GUI")
result = client.predict(
message=input_text,
max_tokens=512,
temperature=0.7,
top_p=0.95,
api_name="/chat",
)
return result
|