eshan6704 commited on
Commit
9853231
·
verified ·
1 Parent(s): c59cfac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -21
app.py CHANGED
@@ -44,27 +44,7 @@ def fetch_data(mode, req_type, name):
44
  with gr.Blocks() as iface:
45
 
46
  # CSS for horizontal top bar, spacing, full visibility
47
- gr.HTML("""
48
- <style>
49
- .gradio-container { padding-top: 0 !important; }
50
- #topblock {
51
- margin: 0; padding: 5px;
52
- display: flex;
53
- align-items: center;
54
- gap: 10px;
55
- flex-wrap: wrap;
56
- }
57
- #topblock .gr-input, #topblock .gr-select, #topblock .gr-button {
58
- height: 40px !important;
59
- font-size: 16px;
60
- box-sizing: border-box;
61
- }
62
- #topblock .gr-input label, #topblock .gr-select label {
63
- display: none;
64
- }
65
- </style>
66
- """)
67
-
68
  # Top inputs in horizontal block (use Blocks, not Block)
69
  with gr.Blocks(elem_id="topblock"):
70
  mode_input = gr.Textbox(label="Mode", value="stock", scale=2, placeholder="Mode")
 
44
  with gr.Blocks() as iface:
45
 
46
  # CSS for horizontal top bar, spacing, full visibility
47
+ gr.HTML(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  # Top inputs in horizontal block (use Blocks, not Block)
49
  with gr.Blocks(elem_id="topblock"):
50
  mode_input = gr.Textbox(label="Mode", value="stock", scale=2, placeholder="Mode")