Update main.py
Browse files
main.py
CHANGED
|
@@ -16,7 +16,7 @@ app.add_middleware(
|
|
| 16 |
@app.post("/predict")
|
| 17 |
async def predict(text: str):
|
| 18 |
# Replace this URL with the actual API endpoint URL
|
| 19 |
-
api_endpoint_url = "https://astro21-test-2.hf.space/--replicas/
|
| 20 |
|
| 21 |
# Use the Gradio client to make the prediction request
|
| 22 |
client = Client(api_endpoint_url)
|
|
|
|
| 16 |
@app.post("/predict")
|
| 17 |
async def predict(text: str):
|
| 18 |
# Replace this URL with the actual API endpoint URL
|
| 19 |
+
api_endpoint_url = "https://astro21-test-2.hf.space/--replicas/k7pcc/"
|
| 20 |
|
| 21 |
# Use the Gradio client to make the prediction request
|
| 22 |
client = Client(api_endpoint_url)
|