Spaces:
Sleeping
Sleeping
prithivMLmods
commited on
Commit
•
e4f6edf
1
Parent(s):
7aa26ef
Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def generate_response(user_input, chat_history, mood):
|
|
67 |
return f"Error after {retry_attempts} attempts: {str(e)}", chat_history
|
68 |
|
69 |
# Build the Gradio interface
|
70 |
-
with gr.Blocks(theme="
|
71 |
gr.Markdown("Duplicate this space in case there is an error or something with your own Gemini API key!")
|
72 |
chat_input = gr.Textbox(lines=2, label="Talk to AI", placeholder="Enter your message here...")
|
73 |
chat_history_state = gr.State([]) # State input for chat history
|
|
|
67 |
return f"Error after {retry_attempts} attempts: {str(e)}", chat_history
|
68 |
|
69 |
# Build the Gradio interface
|
70 |
+
with gr.Blocks(theme="bethecloud/storj_theme") as iface:
|
71 |
gr.Markdown("Duplicate this space in case there is an error or something with your own Gemini API key!")
|
72 |
chat_input = gr.Textbox(lines=2, label="Talk to AI", placeholder="Enter your message here...")
|
73 |
chat_history_state = gr.State([]) # State input for chat history
|