acecalisto3 commited on
Commit
7060c4b
·
verified ·
1 Parent(s): fe47315

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -384,14 +384,14 @@ with gr.Blocks() as iface:
384
  # Other output components...
385
 
386
  # Specify inputs and events
387
- inputs = [input_text, events] # List of input components
388
- events = [output_text, events ] # List of output components
389
 
390
  iface.load(inputs, events)
391
  def log_messages(inputs, outputs):
392
  logger(f'Input: {inputs}, Output: {outputs}')
393
 
394
- @gr.Interface.load(inputs, events)
395
  def log_messages(inputs, outputs):
396
  logger(f'Input: {inputs}, Output: {outputs}')
397
 
 
384
  # Other output components...
385
 
386
  # Specify inputs and events
387
+ inputs = [input_text, agents] # List of input components
388
+ events = [output_text, agents] # List of output components
389
 
390
  iface.load(inputs, events)
391
  def log_messages(inputs, outputs):
392
  logger(f'Input: {inputs}, Output: {outputs}')
393
 
394
+ @gr.Interface.load(inputs, agents)
395
  def log_messages(inputs, outputs):
396
  logger(f'Input: {inputs}, Output: {outputs}')
397