Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ secreturl = os.environ.get('secret_url')
|
|
9 |
|
10 |
custom_css = """
|
11 |
#md {
|
12 |
-
height: 350px; font-size:
|
13 |
}
|
14 |
#senden {
|
15 |
width: 200px;
|
@@ -103,12 +103,12 @@ with gr.Blocks(css=custom_css, theme = gr.themes.Soft()) as demo:
|
|
103 |
gr.Markdown("# Perplexica WebSearch")
|
104 |
ort_input = gr.Textbox(label="Frage", placeholder="ask anything...", value="")
|
105 |
links_output = gr.Markdown(label="Antwort",elem_id="md")
|
106 |
-
|
107 |
-
with gr.Row():
|
108 |
-
clearbutton = gr.Button("clear", elem_id="clear")
|
109 |
-
|
110 |
|
111 |
button.click(fn=parse_links, inputs=ort_input, outputs=links_output)
|
112 |
-
clearbutton.click(fn=clear, inputs=[], outputs=links_output)
|
113 |
|
114 |
demo.launch()
|
|
|
9 |
|
10 |
custom_css = """
|
11 |
#md {
|
12 |
+
height: 350px; font-size:28px;
|
13 |
}
|
14 |
#senden {
|
15 |
width: 200px;
|
|
|
103 |
gr.Markdown("# Perplexica WebSearch")
|
104 |
ort_input = gr.Textbox(label="Frage", placeholder="ask anything...", value="")
|
105 |
links_output = gr.Markdown(label="Antwort",elem_id="md")
|
106 |
+
button = gr.Button("senden", elem_id="senden")
|
107 |
+
#with gr.Row():
|
108 |
+
#clearbutton = gr.Button("clear", elem_id="clear")
|
109 |
+
|
110 |
|
111 |
button.click(fn=parse_links, inputs=ort_input, outputs=links_output)
|
112 |
+
#clearbutton.click(fn=clear, inputs=[], outputs=links_output)
|
113 |
|
114 |
demo.launch()
|