Tycohs commited on
Commit
f3eea8c
·
1 Parent(s): 4e565d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,10 +11,10 @@ with gr.Blocks() as demo:
11
  with gr.Row():
12
  gr.Markdown("This application generates a focus group to answer your questions.\nFirst list your topic and questions, generate the focus group profile, get their answers and finally access the summary report")
13
  with gr.Row():
14
- gr.Column(scale = 6):
15
  apikey = gr.Textbox(label='Paste here your OpenAI - API key', info='No API key is stored and only you will see it.', lines = 1)
16
  openai.api_key = os.getenv('APICode2') # openai.api_key = apikey
17
- gr.Column(scale = 1):
18
  useapi = gr.Button("Use this API")
19
  with gr.Row(visible = False) as fullblock:
20
  with gr.Tab("Enquiry Description"):
 
11
  with gr.Row():
12
  gr.Markdown("This application generates a focus group to answer your questions.\nFirst list your topic and questions, generate the focus group profile, get their answers and finally access the summary report")
13
  with gr.Row():
14
+ with gr.Column(scale = 6):
15
  apikey = gr.Textbox(label='Paste here your OpenAI - API key', info='No API key is stored and only you will see it.', lines = 1)
16
  openai.api_key = os.getenv('APICode2') # openai.api_key = apikey
17
+ with gr.Column(scale = 1):
18
  useapi = gr.Button("Use this API")
19
  with gr.Row(visible = False) as fullblock:
20
  with gr.Tab("Enquiry Description"):