Spaces:
Runtime error
Runtime error
Commit
·
7b8870b
1
Parent(s):
814e7e2
removed css
Browse files
app.py
CHANGED
@@ -6,27 +6,12 @@ theme = gr.themes.Soft()
|
|
6 |
def echo_text(input_text):
|
7 |
return input_text
|
8 |
|
9 |
-
custom_css = """
|
10 |
-
.gr-textbox {
|
11 |
-
background-color: rgb(79, 129, 145);
|
12 |
-
color: #333;
|
13 |
-
font-size: 16px;
|
14 |
-
border: 2px solid #666;
|
15 |
-
padding: 10px;
|
16 |
-
}
|
17 |
-
.gr-textbox:focus {
|
18 |
-
border: 2px solid #009688;
|
19 |
-
}
|
20 |
-
"""
|
21 |
-
|
22 |
iface = gr.Interface(
|
23 |
fn=echo_text,
|
24 |
-
inputs=gr.Textbox(text="Enter text here..."
|
25 |
-
outputs=gr.Textbox(
|
26 |
live=True,
|
27 |
title="LLM Evaluator with Linguistic Scrutiny",
|
28 |
-
width=500,
|
29 |
-
height=200,
|
30 |
theme=theme
|
31 |
)
|
32 |
|
|
|
6 |
def echo_text(input_text):
|
7 |
return input_text
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
iface = gr.Interface(
|
10 |
fn=echo_text,
|
11 |
+
inputs=gr.Textbox(text="Enter text here..."),
|
12 |
+
outputs=gr.Textbox(),
|
13 |
live=True,
|
14 |
title="LLM Evaluator with Linguistic Scrutiny",
|
|
|
|
|
15 |
theme=theme
|
16 |
)
|
17 |
|