Spaces:
Build error
Build error
Commit ·
5036f75
1
Parent(s): 01133dd
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,8 @@ def predict(sentence):
|
|
| 29 |
|
| 30 |
gradio.Interface(
|
| 31 |
fn=predict,
|
| 32 |
-
inputs="
|
| 33 |
outputs="text",
|
| 34 |
-
allow_flagging='never'
|
|
|
|
| 35 |
).launch()
|
|
|
|
| 29 |
|
| 30 |
gradio.Interface(
|
| 31 |
fn=predict,
|
| 32 |
+
inputs=gradio.inputs.Textbox(label="Enter Code Snippet:", placeholder="Type here...", lines=2),
|
| 33 |
outputs="text",
|
| 34 |
+
allow_flagging='never',
|
| 35 |
+
title="Code Summarization"
|
| 36 |
).launch()
|