Spaces:
Runtime error
Runtime error
Upload Gradio_Related.py
Browse files
App_Function_Libraries/Gradio_Related.py
CHANGED
|
@@ -673,7 +673,7 @@ def create_video_transcription_tab():
|
|
| 673 |
"Llama.cpp", "Kobold", "Ooba", "Tabbyapi", "VLLM", "HuggingFace"],
|
| 674 |
value="Mistral",
|
| 675 |
label="API Name (Mandatory)",
|
| 676 |
-
|
| 677 |
api_key_input = gr.Textbox(label="API Key (Mandatory)", placeholder="Enter your API key here",
|
| 678 |
type="password",
|
| 679 |
value=MISTRAL_TOKEN)
|
|
@@ -1433,8 +1433,7 @@ def create_podcast_tab():
|
|
| 1433 |
choices=[None, "Local-LLM", "OpenAI", "Anthropic", "Cohere", "Groq", "DeepSeek", "Mistral", "OpenRouter", "Llama.cpp",
|
| 1434 |
"Kobold", "Ooba", "Tabbyapi", "VLLM", "HuggingFace"],
|
| 1435 |
value="Mistral",
|
| 1436 |
-
label="API Name for Summarization (Optional)"
|
| 1437 |
-
placeholder="Mistral"
|
| 1438 |
)
|
| 1439 |
podcast_api_key_input = gr.Textbox(label="API Key (if required)",
|
| 1440 |
type="password",
|
|
@@ -1558,8 +1557,7 @@ def create_website_scraping_tab():
|
|
| 1558 |
choices=[None, "Local-LLM", "OpenAI", "Anthropic", "Cohere", "Groq", "DeepSeek", "Mistral", "OpenRouter",
|
| 1559 |
"Llama.cpp", "Kobold", "Ooba", "Tabbyapi", "VLLM", "HuggingFace"],
|
| 1560 |
value="Mistral",
|
| 1561 |
-
label="API Name (Mandatory for Summarization)"
|
| 1562 |
-
placeholder="Mistral"
|
| 1563 |
)
|
| 1564 |
api_key_input = gr.Textbox(label="API Key (Mandatory if API Name is specified)",
|
| 1565 |
placeholder="Enter your API key here; Ignore if using Local API or Built-in API",
|
|
@@ -1673,8 +1671,7 @@ def create_resummary_tab():
|
|
| 1673 |
choices=["Local-LLM", "OpenAI", "Anthropic", "Cohere", "Groq", "DeepSeek", "Mistral", "OpenRouter",
|
| 1674 |
"Llama.cpp", "Kobold", "Ooba", "Tabbyapi", "VLLM", "HuggingFace"],
|
| 1675 |
value="Mistral",
|
| 1676 |
-
label="API Name"
|
| 1677 |
-
placeholder="Mistral"
|
| 1678 |
)
|
| 1679 |
api_key_input = gr.Textbox(label="API Key",
|
| 1680 |
placeholder="Enter your API key here",
|
|
|
|
| 673 |
"Llama.cpp", "Kobold", "Ooba", "Tabbyapi", "VLLM", "HuggingFace"],
|
| 674 |
value="Mistral",
|
| 675 |
label="API Name (Mandatory)",
|
| 676 |
+
)
|
| 677 |
api_key_input = gr.Textbox(label="API Key (Mandatory)", placeholder="Enter your API key here",
|
| 678 |
type="password",
|
| 679 |
value=MISTRAL_TOKEN)
|
|
|
|
| 1433 |
choices=[None, "Local-LLM", "OpenAI", "Anthropic", "Cohere", "Groq", "DeepSeek", "Mistral", "OpenRouter", "Llama.cpp",
|
| 1434 |
"Kobold", "Ooba", "Tabbyapi", "VLLM", "HuggingFace"],
|
| 1435 |
value="Mistral",
|
| 1436 |
+
label="API Name for Summarization (Optional)"
|
|
|
|
| 1437 |
)
|
| 1438 |
podcast_api_key_input = gr.Textbox(label="API Key (if required)",
|
| 1439 |
type="password",
|
|
|
|
| 1557 |
choices=[None, "Local-LLM", "OpenAI", "Anthropic", "Cohere", "Groq", "DeepSeek", "Mistral", "OpenRouter",
|
| 1558 |
"Llama.cpp", "Kobold", "Ooba", "Tabbyapi", "VLLM", "HuggingFace"],
|
| 1559 |
value="Mistral",
|
| 1560 |
+
label="API Name (Mandatory for Summarization)"
|
|
|
|
| 1561 |
)
|
| 1562 |
api_key_input = gr.Textbox(label="API Key (Mandatory if API Name is specified)",
|
| 1563 |
placeholder="Enter your API key here; Ignore if using Local API or Built-in API",
|
|
|
|
| 1671 |
choices=["Local-LLM", "OpenAI", "Anthropic", "Cohere", "Groq", "DeepSeek", "Mistral", "OpenRouter",
|
| 1672 |
"Llama.cpp", "Kobold", "Ooba", "Tabbyapi", "VLLM", "HuggingFace"],
|
| 1673 |
value="Mistral",
|
| 1674 |
+
label="API Name"
|
|
|
|
| 1675 |
)
|
| 1676 |
api_key_input = gr.Textbox(label="API Key",
|
| 1677 |
placeholder="Enter your API key here",
|