Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -100,12 +100,14 @@ def clear():
|
|
100 |
|
101 |
# Erstelle die Gradio-Schnittstelle
|
102 |
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 |
-
|
108 |
-
|
|
|
|
|
|
|
109 |
button.click(fn=parse_links, inputs=ort_input, outputs=links_output)
|
110 |
#clearbutton.click(fn=clear, inputs=[], outputs=links_output)
|
111 |
|
|
|
100 |
|
101 |
# Erstelle die Gradio-Schnittstelle
|
102 |
with gr.Blocks(css=custom_css, theme = gr.themes.Soft()) as demo:
|
103 |
+
gr.Markdown("# Perplexica WebSearch")
|
|
|
104 |
links_output = gr.Markdown(label="Antwort",elem_id="md")
|
105 |
+
|
106 |
+
with gr.Row():
|
107 |
+
ort_input = gr.Textbox(label="Frage", placeholder="ask anything...", value="")
|
108 |
+
#clearbutton = gr.Button("clear", elem_id="clear")
|
109 |
+
button = gr.Button("senden", elem_id="senden")
|
110 |
+
|
111 |
button.click(fn=parse_links, inputs=ort_input, outputs=links_output)
|
112 |
#clearbutton.click(fn=clear, inputs=[], outputs=links_output)
|
113 |
|