YchKhan commited on
Commit
3d7e7ec
·
verified ·
1 Parent(s): ff99b38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -174,9 +174,13 @@ def analyze_pdf_novelty(patent_background, url, data_type="pdf"):
174
  except Exception as e:
175
  return {"error": f"Error: {str(e)}"}
176
 
177
- @app.route('/')
178
- def home():
179
- return render_template('index.html')
 
 
 
 
180
 
181
  @app.route('/chat', methods=['POST'])
182
  def chat():
 
174
  except Exception as e:
175
  return {"error": f"Error: {str(e)}"}
176
 
177
+ # @app.route('/')
178
+ # def home():
179
+ # return render_template('index.html')
180
+
181
+ @app.get("/")
182
+ def timeline():
183
+ return stream_template("index.html")
184
 
185
  @app.route('/chat', methods=['POST'])
186
  def chat():