YchKhan commited on
Commit
057343e
1 Parent(s): 9a1af10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -252,7 +252,8 @@ def ask_llm(system, user_input):
252
  def ask_llm_stream(system, user_input):
253
  llm_response = ""
254
  client = Groq(api_key=os.environ["GROQ_KEY"])
255
-
 
256
  messages = [
257
  {
258
  "role": "system",
 
252
  def ask_llm_stream(system, user_input):
253
  llm_response = ""
254
  client = Groq(api_key=os.environ["GROQ_KEY"])
255
+ if user_input is None or user_input == "":
256
+ user_input = "What is the introduction of the document about?"
257
  messages = [
258
  {
259
  "role": "system",