manabb commited on
Commit
6eda2cf
·
verified ·
1 Parent(s): eb4723c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -97,10 +97,11 @@ def generate_response(manual, proposal):
97
 
98
  def generate_html(llm_response):
99
  lines = llm_response.strip().split('\n')
100
- html=""
101
  for line in lines:
102
  line = line.strip()
103
- html+="<tr><td>"+line+"</td></tr>"
 
104
  return html
105
 
106
  #================================================Gradio==================
 
97
 
98
  def generate_html(llm_response):
99
  lines = llm_response.strip().split('\n')
100
+ html="<tr><td>"
101
  for line in lines:
102
  line = line.strip()
103
+ html+="<br>"+line+"</br>"
104
+ html="</td></tr>"
105
  return html
106
 
107
  #================================================Gradio==================