bambadij commited on
Commit
4812b3b
·
1 Parent(s): 65a20db

cahnge conf

Browse files
Files changed (3) hide show
  1. __pycache__/app.cpython-311.pyc +0 -0
  2. app.py +2 -1
  3. requirements.txt +1 -1
__pycache__/app.cpython-311.pyc CHANGED
Binary files a/__pycache__/app.cpython-311.pyc and b/__pycache__/app.cpython-311.pyc differ
 
app.py CHANGED
@@ -58,4 +58,5 @@ demo = gr.Interface(
58
  title="Tutorial:Sentiment Analysis App",
59
  description = "This Aplication assesses if a twitter post relating vaccination is positive"
60
  )
61
- demo.launch(share=True)
 
 
58
  title="Tutorial:Sentiment Analysis App",
59
  description = "This Aplication assesses if a twitter post relating vaccination is positive"
60
  )
61
+ if __name__ == "__main__":
62
+ demo.launch(server_name="0.0.0.0",server_port=7860)
requirements.txt CHANGED
@@ -2,5 +2,5 @@ transformers==4.35.0
2
  gradio==4.1.1
3
  numpy==1.23.5
4
  scipy==1.11.3
5
- torch @ https://download.pytorch.org/whl/cu118/torch-2.1.0%2Bcu118-cp310-cp310-linux_x86_64.whl#sha256=a81b554184492005543ddc32e96469f9369d778dedd195d73bda9bed407d6589
6
  black
 
2
  gradio==4.1.1
3
  numpy==1.23.5
4
  scipy==1.11.3
5
+ torch
6
  black