mxiean commited on
Commit
cbfb2ea
·
verified ·
1 Parent(s): 42584cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,8 +1,8 @@
1
  # 测试文本模型
2
  # import part
3
  import streamlit as st
4
- # from transformers import pipeline
5
- # import torch
6
  # pipe = pipeline("text-classification", model="distilbert-base-uncased")
7
  # print(pipe("This is a test sentence."))
8
 
 
1
  # 测试文本模型
2
  # import part
3
  import streamlit as st
4
+ from transformers import pipeline
5
+ import torch
6
  # pipe = pipeline("text-classification", model="distilbert-base-uncased")
7
  # print(pipe("This is a test sentence."))
8