mgokg commited on
Commit
b65233d
·
verified ·
1 Parent(s): e99f421

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -14
app.py CHANGED
@@ -13,19 +13,6 @@ genai.configure(api_key=os.environ["geminiapikey"])
13
  api_key = os.environ.get('GROQ_API_KEY')
14
  read_key = os.environ.get('HF_TOKEN', None)
15
 
16
-
17
- custom_css = """
18
- #md {
19
- height: 500px;
20
- font-size: 30px;
21
- background: #121212;
22
- padding: 20px;
23
- padding-top: 40px;
24
- color: white;
25
- border: 1 px solid #383838;
26
- }
27
- """
28
-
29
  # Initialize Groq client
30
  if api_key:
31
  from groq import Client as GroqClient
@@ -146,7 +133,7 @@ def load_data():
146
  return df
147
 
148
  # Create the Gradio interface
149
- with gr.Blocks(css=custom_css) as demo:
150
  gr.Markdown("[Download](https://specialist-it.de/verein.csv)")
151
  with gr.Row():
152
  ort_input = gr.Textbox(label="Ort", placeholder="Gib den Namen des Ortes ein")
 
13
  api_key = os.environ.get('GROQ_API_KEY')
14
  read_key = os.environ.get('HF_TOKEN', None)
15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  # Initialize Groq client
17
  if api_key:
18
  from groq import Client as GroqClient
 
133
  return df
134
 
135
  # Create the Gradio interface
136
+ with gr.Blocks() as demo:
137
  gr.Markdown("[Download](https://specialist-it.de/verein.csv)")
138
  with gr.Row():
139
  ort_input = gr.Textbox(label="Ort", placeholder="Gib den Namen des Ortes ein")