abrar-adnan commited on
Commit
e8af42b
1 Parent(s): 0d01f32

fixed requirements.txt

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +3 -3
app.py CHANGED
@@ -23,5 +23,5 @@ def classify_book_genre(description):
23
 
24
  label = gr.outputs.Label(num_top_classes=5)
25
  iface = gr.Interface(fn=classify_book_genre, inputs="text", outputs=label)
26
- iface.launch(inline=False)
27
 
 
23
 
24
  label = gr.outputs.Label(num_top_classes=5)
25
  iface = gr.Interface(fn=classify_book_genre, inputs="text", outputs=label)
26
+ iface.launch(inline=False,share=True)
27
 
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- gradio==3.17.0
2
- onnxruntime==1.13.1
3
  torch==1.13.1
4
- transformers==4.26.0
 
1
+ gradio==3.16.2
2
+ onnxruntime==1.14.0
3
  torch==1.13.1
4
+ transformers==4.26.1