JiunYi commited on
Commit
9563b79
1 Parent(s): 0d2b1ab

Revise wording

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -67,9 +67,6 @@ def esgqabot(history, openai_model_name, year, target_type, target_value):
67
  _c = " "
68
  history[-1][1] += _c
69
  yield history
70
- # for character in response:
71
- # history[-1][1] += character
72
- # yield history
73
 
74
 
75
  css = """
@@ -99,7 +96,7 @@ with gr.Blocks(css=css, theme=gr.themes.Monochrome(neutral_hue="green", primary_
99
  choices=["gpt-4-turbo-preview", "gpt-3.5-turbo"])
100
  esgsumm_year = gr.Dropdown(
101
  value="111",
102
- label="Year",
103
  choices=["111", "110", "109"]
104
  )
105
  esgsumm_target_type = gr.Dropdown(
@@ -147,7 +144,7 @@ with gr.Blocks(css=css, theme=gr.themes.Monochrome(neutral_hue="green", primary_
147
  choices=["gpt-4-turbo-preview", "gpt-3.5-turbo"])
148
  esgqa_year = gr.Dropdown(
149
  value="111",
150
- label="Year",
151
  choices=["111", "110", "109"]
152
  )
153
  esgqa_target_type = gr.Dropdown(
 
67
  _c = " "
68
  history[-1][1] += _c
69
  yield history
 
 
 
70
 
71
 
72
  css = """
 
96
  choices=["gpt-4-turbo-preview", "gpt-3.5-turbo"])
97
  esgsumm_year = gr.Dropdown(
98
  value="111",
99
+ label="Year (填報年)",
100
  choices=["111", "110", "109"]
101
  )
102
  esgsumm_target_type = gr.Dropdown(
 
144
  choices=["gpt-4-turbo-preview", "gpt-3.5-turbo"])
145
  esgqa_year = gr.Dropdown(
146
  value="111",
147
+ label="Year (填報年)",
148
  choices=["111", "110", "109"]
149
  )
150
  esgqa_target_type = gr.Dropdown(