adikwok commited on
Commit
597099d
·
verified ·
1 Parent(s): c351b7a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -2
app.py CHANGED
@@ -109,8 +109,21 @@ def process_message(message: str, topic: str, summarize: bool):
109
  return response, ""
110
 
111
  # Gradio Interface
112
- with gr.Blocks(title="Groq Chat Interface", theme=gr.themes.Soft()) as demo:
113
- gr.Markdown("## 💬 Groq API Chat Interface")
 
 
 
 
 
 
 
 
 
 
 
 
 
114
 
115
  with gr.Tab("💬 Chat"):
116
  # Response area at top
 
109
  return response, ""
110
 
111
  # Gradio Interface
112
+ o:
113
+ gr.Markdown("## 💬 Groq API Chat Interface")with gr.Blocks(title="Groq Chat Interface", theme=gr.themes.Soft(), css="""
114
+ .gradio-container {
115
+ max-width: 100% !important;
116
+ padding-left: 0px !important;
117
+ padding-right: 0px !important;
118
+ }
119
+ .main {
120
+ max-width: 100% !important;
121
+ padding: 0px !important;
122
+ }
123
+ .block {
124
+ max-width: 100% !important;
125
+ }
126
+ """) as demo:
127
 
128
  with gr.Tab("💬 Chat"):
129
  # Response area at top