mgokg commited on
Commit
b31c937
·
verified ·
1 Parent(s): 375dca4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -8,12 +8,7 @@ import os
8
  secreturl = os.environ.get('secret_url')
9
 
10
  # CSS-Stil für den Markdown-Container
11
- demo.css = """
12
- #markdown_output {
13
- height: 500px; /* Höhe in Pixel */
14
- overflow: auto; /* Scrollbar hinzufügen, wenn der Inhalt die Höhe überschreitet */
15
- }
16
- """
17
 
18
  def parse_links(prompt):
19
  #anfrage ='fill in the missing contact information. do not reference the json object. do not use html tags inside the json object. it must be valid json. do not return explanaitons or any other text. thanks for your efforts:)'
@@ -83,6 +78,12 @@ def clear():
83
 
84
  # Erstelle die Gradio-Schnittstelle
85
  with gr.Blocks() as demo:
 
 
 
 
 
 
86
  gr.Markdown("# Perplexica WebSearch")
87
  ort_input = gr.Textbox(label="Prompt", placeholder="ask anything...", value="")
88
  links_output = gr.Markdown(label="Antwort",elem_id="markdown_output")
 
8
  secreturl = os.environ.get('secret_url')
9
 
10
  # CSS-Stil für den Markdown-Container
11
+
 
 
 
 
 
12
 
13
  def parse_links(prompt):
14
  #anfrage ='fill in the missing contact information. do not reference the json object. do not use html tags inside the json object. it must be valid json. do not return explanaitons or any other text. thanks for your efforts:)'
 
78
 
79
  # Erstelle die Gradio-Schnittstelle
80
  with gr.Blocks() as demo:
81
+ demo.css = """
82
+ #markdown_output {
83
+ height: 500px; /* Höhe in Pixel */
84
+ overflow: auto; /* Scrollbar hinzufügen, wenn der Inhalt die Höhe überschreitet */
85
+ }
86
+ """
87
  gr.Markdown("# Perplexica WebSearch")
88
  ort_input = gr.Textbox(label="Prompt", placeholder="ask anything...", value="")
89
  links_output = gr.Markdown(label="Antwort",elem_id="markdown_output")