redhairedshanks1 commited on
Commit
4a7a44e
·
verified ·
1 Parent(s): ecb2576

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -157,7 +157,7 @@ def extract_tables_node(state):
157
 
158
  node_map = {
159
  "text": extract_text_node,
160
- "table": extract_tables_node
161
  }
162
 
163
  # === Individual APIs ===
@@ -197,5 +197,5 @@ async def extract_table_api(
197
  if __name__ == "__main__":
198
  import uvicorn
199
  # ⬇️ Removed reload=True (causing shutdowns in Hugging Face Spaces)
200
- uvicorn.run("app:api", host="0.0.0.0", port=7860, reload = True)
201
 
 
157
 
158
  node_map = {
159
  "text": extract_text_node,
160
+ "table": extract_tables_node
161
  }
162
 
163
  # === Individual APIs ===
 
197
  if __name__ == "__main__":
198
  import uvicorn
199
  # ⬇️ Removed reload=True (causing shutdowns in Hugging Face Spaces)
200
+ uvicorn.run("app:api", host="0.0.0.0", port=7860)
201