Update main.py
Browse files15 unmodified lines1617181920212215 unmodified lines@app.post("/predict")async def predict(text: str):# Replace this URL with the actual API endpoint URLapi_endpoint_url = "https://astro21-test-2.hf.space/--replicas/bq6nd/"# Use the Gradio client to make the prediction requestclient = Client(api_endpoint_url)15 unmodified lines1617181920212215 unmodified lines@app.post("/predict")async def predict(text: str):# Replace this URL with the actual API endpoint URLapi_endpoint_url = "https://astro21-test-2.hf.space/--replicas/7592n/"# Use the Gradio client to make the prediction requestclient = Client(api_endpoint_url)
main.py+1-1