Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -11,9 +11,9 @@ custom_css = """
|
|
11 |
#md {
|
12 |
height: 350px;
|
13 |
font-size:20px;
|
14 |
-
background:#
|
15 |
padding: 20px;
|
16 |
-
color:
|
17 |
}
|
18 |
#senden {
|
19 |
width: 200px; float:right;
|
@@ -103,10 +103,10 @@ def clear():
|
|
103 |
return clear
|
104 |
|
105 |
# Erstelle die Gradio-Schnittstelle
|
106 |
-
with gr.Blocks(css=custom_css, theme = gr.themes.
|
107 |
gr.Markdown("# Perplexica WebSearch ")
|
108 |
links_output = gr.Markdown(label="Antwort",elem_id="md")
|
109 |
-
ort_input = gr.Textbox(label="Frage", placeholder="ask anything...", value="")
|
110 |
#clearbutton = gr.Button("clear", elem_id="clear")
|
111 |
button = gr.Button("senden", elem_id="senden")
|
112 |
|
|
|
11 |
#md {
|
12 |
height: 350px;
|
13 |
font-size:20px;
|
14 |
+
background:#181818;
|
15 |
padding: 20px;
|
16 |
+
color:white;
|
17 |
}
|
18 |
#senden {
|
19 |
width: 200px; float:right;
|
|
|
103 |
return clear
|
104 |
|
105 |
# Erstelle die Gradio-Schnittstelle
|
106 |
+
with gr.Blocks(css=custom_css, theme = gr.themes.Default()) as demo:
|
107 |
gr.Markdown("# Perplexica WebSearch ")
|
108 |
links_output = gr.Markdown(label="Antwort",elem_id="md")
|
109 |
+
ort_input = gr.Textbox(label="Frage", placeholder="ask anything...", scale= 3, value="")
|
110 |
#clearbutton = gr.Button("clear", elem_id="clear")
|
111 |
button = gr.Button("senden", elem_id="senden")
|
112 |
|