mgokg commited on
Commit
736a204
·
verified ·
1 Parent(s): 34fec12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -18,10 +18,12 @@ custom_css = """
18
  #senden {
19
  width: 200px;
20
  float: right;
 
21
  }
22
  #clear {
23
  width: 200px;
24
  float: right;
 
25
  }
26
  """
27
 
@@ -83,11 +85,9 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Default(font=[gr.themes.GoogleFon
83
  links_output = gr.Markdown(label="Antwort", elem_id="md")
84
  ort_input = gr.Textbox(label="Frage", placeholder="ask anything...", scale=3, value="")
85
  optimization_mode_input = gr.Dropdown(choices=["speed", "balanced"], label="Optimization Mode", value="speed")
86
-
87
- with gr.Row():
88
- clear_button = gr.Button("clear", elem_id="clear")
89
- button = gr.Button("senden", elem_id="senden")
90
-
91
  button.click(fn=question, inputs=[ort_input, optimization_mode_input], outputs=links_output)
92
  clear_button.click(fn=clear, inputs=[], outputs=[ort_input, optimization_mode_input])
93
 
 
18
  #senden {
19
  width: 200px;
20
  float: right;
21
+ background: purple;
22
  }
23
  #clear {
24
  width: 200px;
25
  float: right;
26
+ background: purple;
27
  }
28
  """
29
 
 
85
  links_output = gr.Markdown(label="Antwort", elem_id="md")
86
  ort_input = gr.Textbox(label="Frage", placeholder="ask anything...", scale=3, value="")
87
  optimization_mode_input = gr.Dropdown(choices=["speed", "balanced"], label="Optimization Mode", value="speed")
88
+ #with gr.Row():
89
+ clear_button = gr.Button("clear", elem_id="clear")
90
+ button = gr.Button("senden", elem_id="senden")
 
 
91
  button.click(fn=question, inputs=[ort_input, optimization_mode_input], outputs=links_output)
92
  clear_button.click(fn=clear, inputs=[], outputs=[ort_input, optimization_mode_input])
93