uyen13 commited on
Commit
95e2ab5
·
1 Parent(s): ebfce48

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -7,6 +7,9 @@ from langchain_g4f import G4FLLM
7
  from g4f import Provider, models
8
 
9
  app = Flask(__name__)
 
 
 
10
  @app.route("/<text>")
11
  def t5(text):
12
  prompt_template = """Write a concise summary of the following around 450 words:
 
7
  from g4f import Provider, models
8
 
9
  app = Flask(__name__)
10
+ @app.route("/")
11
+ def index():
12
+ return jsonify({"output": ""})
13
  @app.route("/<text>")
14
  def t5(text):
15
  prompt_template = """Write a concise summary of the following around 450 words: