Cristobal299 commited on
Commit
7ff4558
·
verified ·
1 Parent(s): 14f3e78

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -100,10 +100,4 @@ def not_found(e):
100
  if __name__ == "__main__":
101
  if not os.path.isfile(DATABASE):
102
  init_db()
103
- import gradio as gr
104
-
105
- def status():
106
- return "Task API is running."
107
-
108
- demo = gr.Interface(fn=status, inputs=None, outputs="text")
109
- demo.launch(server_name="0.0.0.0", server_port=7860, debug=False)
 
100
  if __name__ == "__main__":
101
  if not os.path.isfile(DATABASE):
102
  init_db()
103
+ app.run(host="0.0.0.0", port=5000)