matthoffner commited on
Commit
3151c18
1 Parent(s): 7d973d2

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +5 -1
main.py CHANGED
@@ -42,6 +42,10 @@ async def demo():
42
  <html>
43
  <body>
44
  <style>
 
 
 
 
45
  #content {
46
  font-family: "SFMono-Regular",Consolas,"Liberation Mono",Menlo,Courier,monospace !important;
47
  box-sizing: border-box;
@@ -58,7 +62,7 @@ async def demo():
58
  }
59
  }
60
  </style>
61
- <article id="content"></article>
62
  <script>
63
  var source = new EventSource("https://matthoffner-starchat-alpha.hf.space/stream");
64
  source.onmessage = function(event) {
 
42
  <html>
43
  <body>
44
  <style>
45
+ pre {
46
+ padding: 1em;
47
+ border: 1px solid black;
48
+ }
49
  #content {
50
  font-family: "SFMono-Regular",Consolas,"Liberation Mono",Menlo,Courier,monospace !important;
51
  box-sizing: border-box;
 
62
  }
63
  }
64
  </style>
65
+ <pre><code id="content"></code></pre>
66
  <script>
67
  var source = new EventSource("https://matthoffner-starchat-alpha.hf.space/stream");
68
  source.onmessage = function(event) {