Ayeshanoor101
commited on
Commit
•
7fb7223
1
Parent(s):
f5193a1
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,15 @@ def chat(message, history):
|
|
36 |
print(output[0]['generated_text'])
|
37 |
return output[0]['generated_text']
|
38 |
|
39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
|
41 |
if __name__ == "__main__":
|
42 |
-
demo.launch()
|
|
|
36 |
print(output[0]['generated_text'])
|
37 |
return output[0]['generated_text']
|
38 |
|
39 |
+
description = """
|
40 |
+
<div style="text-align: center;">
|
41 |
+
<h1>Phi-3-mini-128k-instruct Chatbot</h1>
|
42 |
+
<p>This chatbot is based on the Phi-3-mini-128k-instruct model by Microsoft.</p>
|
43 |
+
<p>Feel free to ask any questions or start a conversation!</p>
|
44 |
+
</div>
|
45 |
+
"""
|
46 |
+
|
47 |
+
demo = gr.ChatInterface(chat, description=description).queue()
|
48 |
|
49 |
if __name__ == "__main__":
|
50 |
+
demo.launch()
|