cdminix commited on
Commit
a95697b
·
1 Parent(s): 9c73c21

fix launch

Browse files
Files changed (1) hide show
  1. app.py +30 -2
app.py CHANGED
@@ -327,7 +327,35 @@ with gr.Blocks(title="Research Paper Pitfall Checker") as demo:
327
  padding: 20px;
328
  border: 1px solid #e0e0e0;
329
  border-radius: 8px;
330
- background-color: #fafafa;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
331
  }
332
  """
333
 
@@ -339,4 +367,4 @@ with gr.Blocks(title="Research Paper Pitfall Checker") as demo:
339
  )
340
 
341
  if __name__ == "__main__":
342
- demo.launch(share=True, server_name="localhost", server_port=9090)
 
327
  padding: 20px;
328
  border: 1px solid #e0e0e0;
329
  border-radius: 8px;
330
+ background-color: #ffffff;
331
+ color: #333333;
332
+ }
333
+
334
+ #results .markdown {
335
+ color: #333333 !important;
336
+ }
337
+
338
+ #results h1, #results h2, #results h3, #results h4, #results h5, #results h6 {
339
+ color: #2c3e50 !important;
340
+ }
341
+
342
+ #results p, #results li, #results div {
343
+ color: #333333 !important;
344
+ }
345
+
346
+ #results code {
347
+ background-color: #f8f9fa;
348
+ color: #e83e8c;
349
+ padding: 2px 4px;
350
+ border-radius: 3px;
351
+ }
352
+
353
+ #results pre {
354
+ background-color: #f8f9fa;
355
+ color: #333333;
356
+ padding: 10px;
357
+ border-radius: 5px;
358
+ border: 1px solid #e9ecef;
359
  }
360
  """
361
 
 
367
  )
368
 
369
  if __name__ == "__main__":
370
+ demo.launch()