Karthikeyan
commited on
Commit
·
9d96e31
1
Parent(s):
c41c673
Update app.py
Browse files
app.py
CHANGED
|
@@ -62,7 +62,9 @@ def respond(message, chat_history, file_path):
|
|
| 62 |
chat_history.append((message, bot_message))
|
| 63 |
return "", chat_history
|
| 64 |
except:
|
| 65 |
-
|
|
|
|
|
|
|
| 66 |
|
| 67 |
with gr.Blocks() as demo:
|
| 68 |
chatbot = gr.Chatbot()
|
|
|
|
| 62 |
chat_history.append((message, bot_message))
|
| 63 |
return "", chat_history
|
| 64 |
except:
|
| 65 |
+
bot_message = "Please Upload Resume!!"
|
| 66 |
+
chat_history.append((message, bot_message))
|
| 67 |
+
return "", chat_history
|
| 68 |
|
| 69 |
with gr.Blocks() as demo:
|
| 70 |
chatbot = gr.Chatbot()
|