liuyizhang commited on
Commit
ea77a9b
1 Parent(s): df238c6

update app.py

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +0 -2
app.py CHANGED
@@ -2,7 +2,7 @@ from transformers import pipeline
2
  import gradio as gr
3
  import random
4
  import string
5
- import paddlehub as hub
6
  import torch
7
  from transformers import AutoModelForCausalLM, AutoTokenizer
8
  from loguru import logger
 
2
  import gradio as gr
3
  import random
4
  import string
5
+ # import paddlehub as hub
6
  import torch
7
  from transformers import AutoModelForCausalLM, AutoTokenizer
8
  from loguru import logger
requirements.txt CHANGED
@@ -3,8 +3,6 @@ spacy
3
  transformers
4
  torch
5
  gradio
6
- paddlepaddle==2.3.2
7
- paddlehub
8
  requests
9
  loguru
10
  tencentcloud-sdk-python
 
3
  transformers
4
  torch
5
  gradio
 
 
6
  requests
7
  loguru
8
  tencentcloud-sdk-python