Spaces:
Runtime error
Runtime error
Update demo.py
Browse files
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:
|
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;
|