Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,7 +53,7 @@ with gr.Blocks() as demo:
|
|
| 53 |
transcript_text = gr.Textbox(placeholder="Transcript Result", label="Transcript")
|
| 54 |
chunk_num = gr.Number(precision=0, minimum=1, maximum=9999, step=1, label="Chunk Number", value=1)
|
| 55 |
chunk_overlap = gr.Number(precision=0, minimum=1, maximum=9999, step=1, label="Chunk Overlap", value=100)
|
| 56 |
-
api_key = gr.Textbox(placeholder="key", label="Your API Key", value=
|
| 57 |
llm_type = gr.Dropdown(
|
| 58 |
[
|
| 59 |
"gpt-3.5-turbo",
|
|
|
|
| 53 |
transcript_text = gr.Textbox(placeholder="Transcript Result", label="Transcript")
|
| 54 |
chunk_num = gr.Number(precision=0, minimum=1, maximum=9999, step=1, label="Chunk Number", value=1)
|
| 55 |
chunk_overlap = gr.Number(precision=0, minimum=1, maximum=9999, step=1, label="Chunk Overlap", value=100)
|
| 56 |
+
api_key = gr.Textbox(placeholder="key", label="Your API Key", value=os.getenv("openai_api"))
|
| 57 |
llm_type = gr.Dropdown(
|
| 58 |
[
|
| 59 |
"gpt-3.5-turbo",
|