uploadimg.html 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>UPLOAD</title>
  6. </head>
  7. <body>
  8. <div class="inline" style="margin-left: 25%;float: left">
  9. <h3>试卷文字提取</h3>
  10. <form action="/segment/formula/" method="post" enctype="multipart/form-data">
  11. <p>上传一道试题,返回该题相关信息</p>
  12. {% csrf_token %}
  13. {{ formula_form.as_p }}
  14. <input type="submit" value="上传"/><br>
  15. </form>
  16. </div>
  17. <div class="inline" style="margin-right: 25%;float: right;">
  18. <h3>数学公式提取并显示</h3>
  19. <form action="/segment/formula_show/" method="post" enctype="multipart/form-data">
  20. <p>上传一道试题,返回该题相关信息</p>
  21. {% csrf_token %}
  22. {{ img_form.as_p }}
  23. <input type="submit" value="上传"/><br>
  24. </form>
  25. </div>
  26. <div class="inline" style="margin-left: 25%;float: left;">
  27. <h3>数学公式提取并显示</h3>
  28. <form action="/segment/ai_formula_show/" method="post" enctype="multipart/form-data">
  29. <p>上传一道试题,返回该题相关信息</p>
  30. {% csrf_token %}
  31. {{ img_form.as_p }}
  32. <input type="submit" value="上传"/><br>
  33. </form>
  34. </div>
  35. </body>
  36. </html>