Update main.py
Browse files
main.py
CHANGED
|
@@ -1,12 +1,9 @@
|
|
| 1 |
from fastapi import FastAPI, HTTPException
|
| 2 |
from typing import Dict
|
| 3 |
-
import logging
|
| 4 |
import httpx
|
| 5 |
|
| 6 |
app = FastAPI()
|
| 7 |
|
| 8 |
-
logging.basicConfig(level=logging.DEBUG)
|
| 9 |
-
|
| 10 |
# Define the Gradio API endpoint
|
| 11 |
gradio_api_url = "https://astro21-test-2.hf.space/--replicas/x5m8s/"
|
| 12 |
|
|
|
|
| 1 |
from fastapi import FastAPI, HTTPException
|
| 2 |
from typing import Dict
|
|
|
|
| 3 |
import httpx
|
| 4 |
|
| 5 |
app = FastAPI()
|
| 6 |
|
|
|
|
|
|
|
| 7 |
# Define the Gradio API endpoint
|
| 8 |
gradio_api_url = "https://astro21-test-2.hf.space/--replicas/x5m8s/"
|
| 9 |
|