zwq2018 commited on
Commit
496e647
1 Parent(s): 7d8522d

Add application file

Browse files
Files changed (2) hide show
  1. .DS_Store +0 -0
  2. app.py +4 -4
.DS_Store CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
 
app.py CHANGED
@@ -84,7 +84,7 @@ with gr.Blocks() as demo:
84
 
85
  if not OPENAI_KEY:
86
  with gr.Row().style():
87
- with gr.Column(scale=0.95):
88
  gr.Markdown(
89
  """
90
  You can use gpt35 from openai or from openai-azure.
@@ -124,13 +124,13 @@ with gr.Blocks() as demo:
124
 
125
 
126
  with gr.Column(scale=0.1, min_width=0):
127
- btn1 = gr.Button("Submit").style(full_height=True)
128
 
129
  with gr.Row():
130
- with gr.Column(scale=0.85):
131
  input_text = gr.inputs.Textbox(lines=1, placeholder='Please input your problem...', label='what do you want to find?')
132
 
133
- with gr.Column(scale=0.15, min_width=0):
134
  start_btn = gr.Button("Start").style(full_height=True)
135
  # end_btn = gr.Button("Stop").style(full_height=True)
136
 
 
84
 
85
  if not OPENAI_KEY:
86
  with gr.Row().style():
87
+ with gr.Column(scale=0.9):
88
  gr.Markdown(
89
  """
90
  You can use gpt35 from openai or from openai-azure.
 
124
 
125
 
126
  with gr.Column(scale=0.1, min_width=0):
127
+ btn1 = gr.Button("OK").style(height= '100px')
128
 
129
  with gr.Row():
130
+ with gr.Column(scale=0.9):
131
  input_text = gr.inputs.Textbox(lines=1, placeholder='Please input your problem...', label='what do you want to find?')
132
 
133
+ with gr.Column(scale=0.1, min_width=0):
134
  start_btn = gr.Button("Start").style(full_height=True)
135
  # end_btn = gr.Button("Stop").style(full_height=True)
136