Spaces:
Running
on
Zero
Running
on
Zero
Switched default model
Browse files
app.py
CHANGED
|
@@ -348,7 +348,6 @@ EXAMPLES = [
|
|
| 348 |
def generate_first_example():
|
| 349 |
"""
|
| 350 |
Generate cache for the first example if it doesn't exist when the app starts.
|
| 351 |
-
|
| 352 |
"""
|
| 353 |
|
| 354 |
if not os.path.exists(EXAMPLE_CACHE_FILE):
|
|
@@ -424,7 +423,7 @@ def create_ui():
|
|
| 424 |
MODEL_LIST,
|
| 425 |
label="🤖 Select Model",
|
| 426 |
info="Choose a model to process your text",
|
| 427 |
-
value=MODEL_LIST[
|
| 428 |
)
|
| 429 |
|
| 430 |
input_text = gr.TextArea(
|
|
|
|
| 348 |
def generate_first_example():
|
| 349 |
"""
|
| 350 |
Generate cache for the first example if it doesn't exist when the app starts.
|
|
|
|
| 351 |
"""
|
| 352 |
|
| 353 |
if not os.path.exists(EXAMPLE_CACHE_FILE):
|
|
|
|
| 423 |
MODEL_LIST,
|
| 424 |
label="🤖 Select Model",
|
| 425 |
info="Choose a model to process your text",
|
| 426 |
+
value=MODEL_LIST[1] if MODEL_LIST else None,
|
| 427 |
)
|
| 428 |
|
| 429 |
input_text = gr.TextArea(
|