Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ def greet_json():
|
|
| 9 |
return {"Hello": "World!"}
|
| 10 |
|
| 11 |
@app.get("/hello/{msg}")
|
| 12 |
-
|
| 13 |
torch.random.manual_seed(0)
|
| 14 |
model = AutoModelForCausalLM.from_pretrained(
|
| 15 |
"microsoft/Phi-3-mini-128k-instruct",
|
|
|
|
| 9 |
return {"Hello": "World!"}
|
| 10 |
|
| 11 |
@app.get("/hello/{msg}")
|
| 12 |
+
def say_hello(msg: str):
|
| 13 |
torch.random.manual_seed(0)
|
| 14 |
model = AutoModelForCausalLM.from_pretrained(
|
| 15 |
"microsoft/Phi-3-mini-128k-instruct",
|