Spaces:
Sleeping
Sleeping
Ariyan-Pro
commited on
Commit
·
0e68beb
1
Parent(s):
a8769a3
Minimal working version
Browse files
README.md
CHANGED
|
@@ -10,19 +10,4 @@ pinned: false
|
|
| 10 |
---
|
| 11 |
|
| 12 |
# ORCHAT Enterprise
|
| 13 |
-
|
| 14 |
-
Swiss Watch Precision AI CLI deployed on HuggingFace Spaces.
|
| 15 |
-
|
| 16 |
-
## Features
|
| 17 |
-
- 50+ years engineering precision
|
| 18 |
-
- Multi-model AI support
|
| 19 |
-
- Enterprise-grade reliability
|
| 20 |
-
|
| 21 |
-
## Quick Start
|
| 22 |
-
```bash
|
| 23 |
-
git clone https://github.com/Ariyan-Pro/OR-CHAT-CLI
|
| 24 |
-
cd OR-CHAT-CLI
|
| 25 |
-
chmod +x bin/orchat
|
| 26 |
-
orchat "Hello, world!"
|
| 27 |
-
Documentation
|
| 28 |
-
Complete documentation available at: GitHub Repository
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
# ORCHAT Enterprise
|
| 13 |
+
Swiss Watch Precision AI CLI
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app.py
CHANGED
|
@@ -1,19 +1,12 @@
|
|
| 1 |
from fastapi import FastAPI
|
| 2 |
from fastapi.responses import HTMLResponse
|
| 3 |
|
| 4 |
-
app = FastAPI(
|
| 5 |
|
| 6 |
-
HTML = '''
|
| 7 |
-
|
| 8 |
-
<!DOCTYPE html><html> <head> <title>ORCHAT Enterprise</title> <style> body { font-family: Arial; max-width: 800px; margin: 40px auto; } .logo { width: 150px; height: 150px; border-radius: 50%; } .container { text-align: center; } </style> </head> <body> <div class="container"> <img src="logo.JPG" alt="ORCHAT Logo" class="logo"> <h1>🏭 ORCHAT Enterprise</h1> <p>Swiss Watch Precision AI CLI</p> <p><a href="https://github.com/Ariyan-Pro/OR-CHAT-CLI">GitHub Repository</a></p> </div> </body> </html> '''
|
| 9 |
@app.get("/")
|
| 10 |
async def home():
|
| 11 |
-
return HTMLResponse(
|
| 12 |
-
|
| 13 |
-
@app.get("/health")
|
| 14 |
-
async def health():
|
| 15 |
-
return {"status": "healthy", "version": "1.0.4"}
|
| 16 |
|
| 17 |
-
if
|
| 18 |
-
import uvicorn
|
| 19 |
-
uvicorn.run(app, host="0.0.0.0", port=7860)
|
|
|
|
| 1 |
from fastapi import FastAPI
|
| 2 |
from fastapi.responses import HTMLResponse
|
| 3 |
|
| 4 |
+
app = FastAPI()
|
| 5 |
|
|
|
|
|
|
|
|
|
|
| 6 |
@app.get("/")
|
| 7 |
async def home():
|
| 8 |
+
return HTMLResponse("<h1>ORCHAT Enterprise</h1><p>Swiss Watch Precision</p>")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
+
if __name__ == "__main__":
|
| 11 |
+
import uvicorn
|
| 12 |
+
uvicorn.run(app, host="0.0.0.0", port=7860)
|