Spaces:
Runtime error
Runtime error
int
Browse files
app.py
CHANGED
|
@@ -94,7 +94,10 @@ def generate(
|
|
| 94 |
|
| 95 |
app = FastAPI()
|
| 96 |
origins = [
|
|
|
|
| 97 |
"http://huggingface.co",
|
|
|
|
|
|
|
| 98 |
]
|
| 99 |
|
| 100 |
app.add_middleware(
|
|
|
|
| 94 |
|
| 95 |
app = FastAPI()
|
| 96 |
origins = [
|
| 97 |
+
"https://huggingface.co",
|
| 98 |
"http://huggingface.co",
|
| 99 |
+
"https://huggingface.co/"
|
| 100 |
+
"http://huggingface.co/",
|
| 101 |
]
|
| 102 |
|
| 103 |
app.add_middleware(
|