Spaces:
Sleeping
Sleeping
File size: 373 Bytes
8ee7dbf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
#%%
from gradio_client import Client
#%%
# client = Client("https://wwydmanski-esmfold.hf.space/")
client = Client("http://localhost:7860")
# %%
result = client.predict(
"MALWMRLLPLLALLALWGPDPAAAFVNQHLCGSHLVEALYLVCGERGFFYTPKTRREAEDLQVGQVELGGGPGAGSLQPLALEGSLQKRGIVEQCCTSICSLYQLENYCN", # str in 'sequence' Textbox component
api_name="/esm2_embeddings")
# %%
result |