tanshaohui commited on
Commit
be74681
·
1 Parent(s): 1e8121a

feat: 文本输入

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +2 -1
app.py CHANGED
@@ -50,5 +50,5 @@ def infer(n):
50
  return output_text
51
 
52
 
53
- demo = gr.Interface(fn=infer, inputs=gr.Number(), outputs=gr.Text())
54
  demo.launch()
 
50
  return output_text
51
 
52
 
53
+ demo = gr.Interface(fn=infer, inputs=gr.Text(), outputs=gr.Text())
54
  demo.launch()
requirements.txt CHANGED
@@ -1,2 +1,3 @@
1
  transformers
2
- qwen-vl-utils
 
 
1
  transformers
2
+ qwen-vl-utils
3
+ torchvision