Spaces:
Running
Running
Update app.py
Browse files
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+="<
|
|
|
|
| 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==================
|