Spaces:
Running on Zero
Running on Zero
nitish17855 commited on
Commit ·
43d66e1
1
Parent(s): f96fcc5
Put import spaces on Line 1 for ZeroGPU monkey-patching
Browse files
app.py
CHANGED
|
@@ -4,6 +4,8 @@ Runs the Enterprise AURA CRAG FastAPI application with custom Glass-Box Frontend
|
|
| 4 |
and mounts Gradio on port 7860 with 16 GB RAM support.
|
| 5 |
"""
|
| 6 |
|
|
|
|
|
|
|
| 7 |
import os
|
| 8 |
import sys
|
| 9 |
from pathlib import Path
|
|
@@ -21,7 +23,6 @@ for pkg in ["punkt", "punkt_tab"]:
|
|
| 21 |
except LookupError:
|
| 22 |
nltk.download(pkg, quiet=True)
|
| 23 |
|
| 24 |
-
import spaces
|
| 25 |
import gradio as gr
|
| 26 |
import uvicorn
|
| 27 |
from api.main import app
|
|
|
|
| 4 |
and mounts Gradio on port 7860 with 16 GB RAM support.
|
| 5 |
"""
|
| 6 |
|
| 7 |
+
import spaces
|
| 8 |
+
|
| 9 |
import os
|
| 10 |
import sys
|
| 11 |
from pathlib import Path
|
|
|
|
| 23 |
except LookupError:
|
| 24 |
nltk.download(pkg, quiet=True)
|
| 25 |
|
|
|
|
| 26 |
import gradio as gr
|
| 27 |
import uvicorn
|
| 28 |
from api.main import app
|