Daemontatox commited on
Commit
828a2ec
·
verified ·
1 Parent(s): 4fa7ac8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -121,7 +121,7 @@ def process_uploaded_file(file):
121
  # -------------------------------
122
  # Bot Streaming Function Using the Multimodal API
123
  # -------------------------------
124
- def bot_streaming(prompt_option, max_new_tokens=500):
125
  """
126
  Build a multimodal message payload and call the inference API.
127
  The payload includes:
@@ -320,7 +320,7 @@ with gr.Blocks() as demo:
320
  prompt_dropdown = gr.Dropdown(
321
  label="Select Prompt",
322
  choices=["Software Tester"],
323
- value="NOC Timesheet"
324
  )
325
  generate_btn = gr.Button("Generate")
326
 
 
121
  # -------------------------------
122
  # Bot Streaming Function Using the Multimodal API
123
  # -------------------------------
124
+ def bot_streaming(prompt_option, max_new_tokens=8192):
125
  """
126
  Build a multimodal message payload and call the inference API.
127
  The payload includes:
 
320
  prompt_dropdown = gr.Dropdown(
321
  label="Select Prompt",
322
  choices=["Software Tester"],
323
+ value="Software Tester"
324
  )
325
  generate_btn = gr.Button("Generate")
326