Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ description = "Enter the Resume you want to categorize"
|
|
| 26 |
# Gradio elements
|
| 27 |
|
| 28 |
# Input from user
|
| 29 |
-
in_prompt = gradio.components.Textbox(lines=2, label='Enter the Resume')
|
| 30 |
|
| 31 |
# Output response
|
| 32 |
out_response = gradio.components.Textbox(label='Category')
|
|
@@ -34,9 +34,7 @@ out_response = gradio.components.Textbox(label='Category')
|
|
| 34 |
# Gradio interface to generate UI link
|
| 35 |
iface = gradio.Interface(fn=predict,
|
| 36 |
inputs = in_prompt,
|
| 37 |
-
outputs = out_response
|
| 38 |
-
title=title,
|
| 39 |
-
description=description
|
| 40 |
)
|
| 41 |
|
| 42 |
iface.launch(debug = True)
|
|
|
|
| 26 |
# Gradio elements
|
| 27 |
|
| 28 |
# Input from user
|
| 29 |
+
in_prompt = gradio.components.Textbox(lines=2, label='Enter the Resume you want to classify')
|
| 30 |
|
| 31 |
# Output response
|
| 32 |
out_response = gradio.components.Textbox(label='Category')
|
|
|
|
| 34 |
# Gradio interface to generate UI link
|
| 35 |
iface = gradio.Interface(fn=predict,
|
| 36 |
inputs = in_prompt,
|
| 37 |
+
outputs = out_response
|
|
|
|
|
|
|
| 38 |
)
|
| 39 |
|
| 40 |
iface.launch(debug = True)
|