Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -38,8 +38,7 @@ 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 |
-
queue=True
|
43 |
)
|
44 |
|
45 |
# Create the Gradio interface for predicting summaries
|
@@ -49,8 +48,7 @@ summary_iface = gr.Interface(
|
|
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
|
|
|
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 |
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
|