Spaces:
Sleeping
Sleeping
| from gradio_client import Client | |
| client = Client("https://adrianpalmadev-rag-qa-system.hf.space") | |
| result = client.predict( | |
| query="Where is the hospital?", | |
| top_k=2, | |
| umbral=0.5, | |
| api_name="/ask" | |
| ) | |
| print("Respuesta:") | |
| print(result) |