Vargock commited on
Commit
12d0e13
·
1 Parent(s): 982913f

Fixed Hugging Face app.py lauch

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +2 -1
README.md CHANGED
@@ -9,5 +9,5 @@ app_file: app.py
9
  pinned: false
10
  short_description: Quick AI-based text summarizer
11
  ---
12
-
13
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
9
  pinned: false
10
  short_description: Quick AI-based text summarizer
11
  ---
12
+ https://huggingface.co/spaces/Vargock/Text-Summarizer
13
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py CHANGED
@@ -40,4 +40,5 @@ def index():
40
  return render_template("index.html", text=text, summary=summary)
41
 
42
  if __name__ == "__main__":
43
- app.run(debug=True)
 
 
40
  return render_template("index.html", text=text, summary=summary)
41
 
42
  if __name__ == "__main__":
43
+ app.run(host="0.0.0.0", port=7860, debug=False)
44
+