Chengxb888 commited on
Commit
f4fa67b
·
verified ·
1 Parent(s): 47c2354

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ async def root():
12
 
13
 
14
  @app.post("/hello/")
15
- async def say_hello(msg: Annotated[str, Form()]):
16
  print("model")
17
  tokenizer = AutoTokenizer.from_pretrained("google/gemma-2b-it")
18
  model = AutoModelForCausalLM.from_pretrained(
 
12
 
13
 
14
  @app.post("/hello/")
15
+ def say_hello(msg: Annotated[str, Form()]):
16
  print("model")
17
  tokenizer = AutoTokenizer.from_pretrained("google/gemma-2b-it")
18
  model = AutoModelForCausalLM.from_pretrained(