ejschwartz commited on
Commit
7dc9b73
·
verified ·
1 Parent(s): 0dd7013

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -38,7 +38,8 @@ identifier_iface = gr.Interface(
38
  outputs="text",
39
  title="Predict Identifiers",
40
  description="Enter a code snippet and see the model generate function identifiers.",
41
- examples=examples
 
42
  )
43
 
44
  # Create the Gradio interface for predicting summaries
@@ -48,7 +49,8 @@ summary_iface = gr.Interface(
48
  outputs="text",
49
  title="Predict Summary",
50
  description="Enter a code snippet and see the model generate a summary.",
51
- examples=examples
 
52
  )
53
 
54
  # Combine the interfaces into a single tabbed interface
 
38
  outputs="text",
39
  title="Predict Identifiers",
40
  description="Enter a code snippet and see the model generate function identifiers.",
41
+ examples=examples,
42
+ queue=True
43
  )
44
 
45
  # Create the Gradio interface for predicting summaries
 
49
  outputs="text",
50
  title="Predict Summary",
51
  description="Enter a code snippet and see the model generate a summary.",
52
+ examples=examples,
53
+ queue=True
54
  )
55
 
56
  # Combine the interfaces into a single tabbed interface