Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def parse_links(prompt):
|
|
51 |
|
52 |
response = requests.post(url, json=payload, headers=headers)
|
53 |
ergebnis = response.json().get('message')
|
54 |
-
ergebnis=gr.Markdown()
|
55 |
return ergebnis
|
56 |
|
57 |
# return as Dictionary, for gr.JSON
|
@@ -71,7 +71,7 @@ def clear():
|
|
71 |
with gr.Blocks() as demo:
|
72 |
gr.Markdown("# Get contact details from Perplexica WebSearch")
|
73 |
ort_input = gr.Textbox(label="Prompt", placeholder="prompt", value="Aero Club Bamberg e.V.")
|
74 |
-
links_output = gr.
|
75 |
|
76 |
with gr.Row():
|
77 |
clearbutton = gr.Button("clear")
|
|
|
51 |
|
52 |
response = requests.post(url, json=payload, headers=headers)
|
53 |
ergebnis = response.json().get('message')
|
54 |
+
#ergebnis=gr.Markdown()
|
55 |
return ergebnis
|
56 |
|
57 |
# return as Dictionary, for gr.JSON
|
|
|
71 |
with gr.Blocks() as demo:
|
72 |
gr.Markdown("# Get contact details from Perplexica WebSearch")
|
73 |
ort_input = gr.Textbox(label="Prompt", placeholder="prompt", value="Aero Club Bamberg e.V.")
|
74 |
+
links_output = gr.Markdown(label="Antwort")
|
75 |
|
76 |
with gr.Row():
|
77 |
clearbutton = gr.Button("clear")
|