Spaces:
Runtime error
Runtime error
Commit
·
84f2663
1
Parent(s):
5d67adc
update version
Browse files
main.py
CHANGED
@@ -28,10 +28,11 @@ refiner.enable_attention_slicing()
|
|
28 |
app = FastAPI()
|
29 |
|
30 |
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
|
|
35 |
@app.get("/generate")
|
36 |
def generate(text: str):
|
37 |
"""
|
|
|
28 |
app = FastAPI()
|
29 |
|
30 |
|
31 |
+
@app.get("/")
|
32 |
+
async def root():
|
33 |
+
return {"message": "UNIK ML API"}
|
34 |
+
|
35 |
+
|
36 |
@app.get("/generate")
|
37 |
def generate(text: str):
|
38 |
"""
|