montecarlo-automated / client-test.py
tosin2013's picture
Update client-test.py
e8054d4 verified
raw
history blame contribute delete
244 Bytes
from gradio_client import Client
client = Client("tosin2013/montecarlo-automated")
result = client.predict(
"UI", # str in 'tickers' Textbox component
14, # float in 'Number of Days' Number component
api_name="/predict"
)
print(result)