sayanbanerjee32
commited on
Commit
•
04648a4
1
Parent(s):
b511184
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def generate_text(prompt, chat_history, num_new_tokens = 100):
|
|
26 |
return result[0]['generated_text'].replace(prompt, '')
|
27 |
|
28 |
with gr.Blocks() as demo:
|
29 |
-
gr.HTML("<h1 align = 'center'>
|
30 |
gr.HTML("<h4 align = 'center'> ChatBot powered by Microsoft-Phi-2 finetuned on OpenAssistant dataset</h4>")
|
31 |
|
32 |
chatbot = gr.Chatbot()
|
|
|
26 |
return result[0]['generated_text'].replace(prompt, '')
|
27 |
|
28 |
with gr.Blocks() as demo:
|
29 |
+
gr.HTML("<h1 align = 'center'> AskMe anything simple </h1>")
|
30 |
gr.HTML("<h4 align = 'center'> ChatBot powered by Microsoft-Phi-2 finetuned on OpenAssistant dataset</h4>")
|
31 |
|
32 |
chatbot = gr.Chatbot()
|