Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
moazx
/
AI-PDF-Tool
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
moazx
commited on
Nov 16
Commit
b8f7497
·
1 Parent(s):
eea9bfb
update hf_app
Browse files
Files changed (1)
hide
show
hf_app.py
+7
-0
hf_app.py
ADDED
Viewed
@@ -0,0 +1,7 @@
1
+
from fastapi import FastAPI
2
+
from fastapi.middleware.wsgi import WSGIMiddleware
3
+
4
+
from app import app as flask_app
5
+
6
+
app = FastAPI()
7
+
app.mount("/", WSGIMiddleware(flask_app))