aazankhanYousafzai commited on
Commit
6135b02
·
verified ·
1 Parent(s): 4dfa5be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  def chat_with_groq(user_message, history):
2
  if not user_message or not user_message.strip():
3
  return history, ""
 
1
+ import os
2
+ import gradio as gr
3
+ from groq import Groq
4
+
5
+ # -----------------------------
6
+ # Groq Client Initialization
7
+ # -----------------------------
8
  def chat_with_groq(user_message, history):
9
  if not user_message or not user_message.strip():
10
  return history, ""