Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,10 +3,6 @@ import random
|
|
3 |
import gradio as gr
|
4 |
from groq import Groq
|
5 |
|
6 |
-
|
7 |
-
import loadThemes
|
8 |
-
|
9 |
-
|
10 |
client = Groq(
|
11 |
api_key = os.environ.get("Groq_Api_Key")
|
12 |
)
|
@@ -55,11 +51,11 @@ additional_inputs = [
|
|
55 |
]
|
56 |
|
57 |
|
58 |
-
|
59 |
|
60 |
|
61 |
gr.ChatInterface(
|
62 |
-
theme=
|
63 |
fn=generate_response,
|
64 |
chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
65 |
additional_inputs=additional_inputs,
|
|
|
3 |
import gradio as gr
|
4 |
from groq import Groq
|
5 |
|
|
|
|
|
|
|
|
|
6 |
client = Groq(
|
7 |
api_key = os.environ.get("Groq_Api_Key")
|
8 |
)
|
|
|
51 |
]
|
52 |
|
53 |
|
54 |
+
theme_applio = "theme"
|
55 |
|
56 |
|
57 |
gr.ChatInterface(
|
58 |
+
theme=theme_applio,
|
59 |
fn=generate_response,
|
60 |
chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
61 |
additional_inputs=additional_inputs,
|