Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from groq import Groq
|
|
| 5 |
from gtts import gTTS
|
| 6 |
|
| 7 |
# β
Set API Key (Replace with your actual key)
|
| 8 |
-
os.environ["GROQ_API_KEY"] = "
|
| 9 |
|
| 10 |
# β
Load Whisper Model securely
|
| 11 |
model = whisper.load_model("small")
|
|
@@ -61,7 +61,7 @@ def reset_chat():
|
|
| 61 |
|
| 62 |
# β
Updated Gradio Chat UI
|
| 63 |
with gr.Blocks() as chat_ui:
|
| 64 |
-
gr.Markdown("## πποΈ
|
| 65 |
|
| 66 |
chatbot = gr.Chatbot(label="Conversation", type="messages") # Chat display
|
| 67 |
with gr.Row():
|
|
|
|
| 5 |
from gtts import gTTS
|
| 6 |
|
| 7 |
# β
Set API Key (Replace with your actual key)
|
| 8 |
+
os.environ["GROQ_API_KEY"] = "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"
|
| 9 |
|
| 10 |
# β
Load Whisper Model securely
|
| 11 |
model = whisper.load_model("small")
|
|
|
|
| 61 |
|
| 62 |
# β
Updated Gradio Chat UI
|
| 63 |
with gr.Blocks() as chat_ui:
|
| 64 |
+
gr.Markdown("## πποΈ @HilalSeek AI Assistant")
|
| 65 |
|
| 66 |
chatbot = gr.Chatbot(label="Conversation", type="messages") # Chat display
|
| 67 |
with gr.Row():
|