Chengxb888 commited on
Commit
e5413bc
·
verified ·
1 Parent(s): 8635319

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def greet_json():
9
  return {"Hello": "World!"}
10
 
11
  @app.get("/hello/{msg}")
12
- async def say_hello(msg: str):
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",