@@ -88,8 +88,9 @@ async def tree_list():
return html
@app.post("/proj_kw/",response_class=HTMLResponse)
-async def proj_kw(kw: str = Form(...),kws:Optional[str] = Form(None)):
- kwlst=[]
+async def proj_kw(proj: str = Form(...),kws:Optional[str] = Form(None)):
+ print(proj)
+ print(kws)
@@ -17,7 +17,7 @@
專案(例如清原): <input type="text" id="proj" name="proj" value=""></br>
關鍵字: </br>
<textarea id="kws" name="kws" rows="10" cols="50"></textarea>
-
+</br>
<input type="submit" value="gen">
</form>