Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,10 @@ from code_summarizer import query
|
|
3 |
|
4 |
demo = gr.Interface(
|
5 |
fn=query,
|
6 |
-
inputs=[
|
|
|
|
|
|
|
7 |
outputs="text",
|
8 |
)
|
9 |
demo.launch()
|
|
|
3 |
|
4 |
demo = gr.Interface(
|
5 |
fn=query,
|
6 |
+
inputs=[
|
7 |
+
gr.Dropdown(['Python', 'PHP','Java','Go','Javascript','Ruby'],label='Select the programming language'),
|
8 |
+
gr.Textbox(label="Enter the user prompt"),
|
9 |
+
],
|
10 |
outputs="text",
|
11 |
)
|
12 |
demo.launch()
|