Update app/app.py
Browse files- app/app.py +4 -0
app/app.py
CHANGED
@@ -18,6 +18,10 @@ os.environ["HF_HOME"] = "/tmp/hf-cache"
|
|
18 |
|
19 |
app = FastAPI()
|
20 |
|
|
|
|
|
|
|
|
|
21 |
# Load the base model first
|
22 |
base_model_name = "TinyLlama/TinyLlama-1.1B-Chat-v1.0"
|
23 |
adapter_base_path = "./tinyllama-lora-finetuned"
|
|
|
18 |
|
19 |
app = FastAPI()
|
20 |
|
21 |
+
@app.get("/")
|
22 |
+
def root():
|
23 |
+
return {"message": "App is running"}
|
24 |
+
|
25 |
# Load the base model first
|
26 |
base_model_name = "TinyLlama/TinyLlama-1.1B-Chat-v1.0"
|
27 |
adapter_base_path = "./tinyllama-lora-finetuned"
|