Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -261,7 +261,7 @@ with gr.Blocks() as demo:
|
|
| 261 |
choices=[
|
| 262 |
"CNN"
|
| 263 |
])
|
| 264 |
-
|
| 265 |
label="Select Text Model to use",
|
| 266 |
choices=["gpt-3.5-turbo",
|
| 267 |
"gpt-3.5-turbo-0301",
|
|
@@ -295,7 +295,7 @@ with gr.Blocks() as demo:
|
|
| 295 |
image_every_n_posts,
|
| 296 |
image_subtoken,
|
| 297 |
news_company,
|
| 298 |
-
|
| 299 |
],
|
| 300 |
outputs=[progress_box,
|
| 301 |
log_output,
|
|
|
|
| 261 |
choices=[
|
| 262 |
"CNN"
|
| 263 |
])
|
| 264 |
+
text_model_name = gr.Dropdown(value="gpt-3.5-turbo-0301",
|
| 265 |
label="Select Text Model to use",
|
| 266 |
choices=["gpt-3.5-turbo",
|
| 267 |
"gpt-3.5-turbo-0301",
|
|
|
|
| 295 |
image_every_n_posts,
|
| 296 |
image_subtoken,
|
| 297 |
news_company,
|
| 298 |
+
text_model_name
|
| 299 |
],
|
| 300 |
outputs=[progress_box,
|
| 301 |
log_output,
|