jer233 commited on
Commit
4afc786
·
verified ·
1 Parent(s): bd0295f

Update demo.py

Browse files
Files changed (1) hide show
  1. demo.py +1 -6
demo.py CHANGED
@@ -30,7 +30,7 @@ def run_test_power(model_name, real_text, generated_text, N=10):
30
 
31
 
32
  css = """
33
- #header { text-align: center; font-size: 1.5em; margin-bottom: 20px; }
34
  #output-text { font-weight: bold; font-size: 1.2em; }
35
  .links {
36
  display: flex;
@@ -48,11 +48,6 @@ css = """
48
  justify-content: center;
49
  width: 100%;
50
  }
51
- .gradio-row input, .gradio-row select {
52
- width: 250px; /* Set all elements to the same width */
53
- margin: 5px;
54
- }
55
-
56
  /* Adjusting layout for Input Text and Inference Result */
57
  .input-row {
58
  display: flex;
 
30
 
31
 
32
  css = """
33
+ #header { text-align: center; font-size: 3em; margin-bottom: 20px; }
34
  #output-text { font-weight: bold; font-size: 1.2em; }
35
  .links {
36
  display: flex;
 
48
  justify-content: center;
49
  width: 100%;
50
  }
 
 
 
 
 
51
  /* Adjusting layout for Input Text and Inference Result */
52
  .input-row {
53
  display: flex;