watagassy commited on
Commit
c79b68a
·
verified ·
1 Parent(s): 4bcd4f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -57,10 +57,11 @@ CSS ="""
57
  .contain { display: flex; flex-direction: column; }
58
  .gradio-container { height: 100vh !important; }
59
  #component-0 { height: 100%; }
60
- #textbox { flex-grow: 1; overflow: auto; resize: vertical; font-size:18px !important; font-weight:500 !important; }
61
  .secondary {background-color: #6366f1; }
62
  #full-width-button { width: 100%; }
63
  #search-result { overflow-y: auto !important; font-size:18px !important; font-weight:500 !important; }
 
64
  """
65
  #with gr.Blocks() as demo:
66
  with gr.Blocks(theme=gr.themes.Monochrome(radius_size=gr.themes.sizes.radius_sm)) as demo:
@@ -77,12 +78,15 @@ with gr.Blocks(theme=gr.themes.Monochrome(radius_size=gr.themes.sizes.radius_sm)
77
  output = gr.TextArea(
78
  elem_id="search-result",
79
  label="検索結果",
 
80
  )
81
  with gr.Row():
82
  input = gr.Textbox(
 
83
  label="質問",
84
  placeholder="カードを指定して破壊する能力でクリーチャーの下にあるカードを指定できますか",
85
  lines=3,
 
86
  )
87
  with gr.Row():
88
  submit = gr.Button(value="検索", variant="secondary", elem_id="full-width-button")
 
57
  .contain { display: flex; flex-direction: column; }
58
  .gradio-container { height: 100vh !important; }
59
  #component-0 { height: 100%; }
60
+ #textbox { flex-grow: 1; overflow: auto; resize: vertical;}
61
  .secondary {background-color: #6366f1; }
62
  #full-width-button { width: 100%; }
63
  #search-result { overflow-y: auto !important; font-size:18px !important; font-weight:500 !important; }
64
+ #question-box { font-size:18px !important; font-weight:500 !important; }
65
  """
66
  #with gr.Blocks() as demo:
67
  with gr.Blocks(theme=gr.themes.Monochrome(radius_size=gr.themes.sizes.radius_sm)) as demo:
 
78
  output = gr.TextArea(
79
  elem_id="search-result",
80
  label="検索結果",
81
+ text_size="lg",
82
  )
83
  with gr.Row():
84
  input = gr.Textbox(
85
+ elem_id="question-box",
86
  label="質問",
87
  placeholder="カードを指定して破壊する能力でクリーチャーの下にあるカードを指定できますか",
88
  lines=3,
89
+ text_size="lg",
90
  )
91
  with gr.Row():
92
  submit = gr.Button(value="検索", variant="secondary", elem_id="full-width-button")