Spaces:
Running
on
Zero
Running
on
Zero
tanshaohui
commited on
Commit
·
be74681
1
Parent(s):
1e8121a
feat: 文本输入
Browse files- app.py +1 -1
- 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.
|
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
|