Affan8 commited on
Commit
082cfc1
·
verified ·
1 Parent(s): f4577fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -2
app.py CHANGED
@@ -86,7 +86,16 @@ with gr.Blocks(css=custom_css, title="Affan's GenAI App (Groq)") as demo:
86
  </div>
87
  """)
88
 
89
- # Chat interface
90
- gr.ChatInterface(fn=chat_groq)
 
 
 
 
 
 
 
 
 
91
 
92
  demo.launch()
 
86
  </div>
87
  """)
88
 
89
+ with gr.Blocks(title="Affan's GenAI App (Groq)") as demo:
90
+ # Inject CSS manually
91
+ gr.HTML(f"<style>{custom_css}</style>")
92
+
93
+ gr.ChatInterface(
94
+ fn=chat_groq,
95
+ title="Chat"
96
+ )
97
+
98
+ demo.launch()
99
+
100
 
101
  demo.launch()