JoeNoss1998 commited on
Commit
d5e3f3e
1 Parent(s): a07feab

Releasing App to HF Space

Browse files
Files changed (4) hide show
  1. .DS_Store +0 -0
  2. .gitignore +2 -0
  3. Untitled-1.ipynb +42 -0
  4. app.py +1 -1
.DS_Store ADDED
Binary file (6.15 kB). View file
 
.gitignore CHANGED
@@ -158,3 +158,5 @@ cython_debug/
158
  # and can be added to the global gitignore or merged into this file. For a more nuclear
159
  # option (not recommended) you can uncomment the following to ignore the entire idea folder.
160
  #.idea/
 
 
 
158
  # and can be added to the global gitignore or merged into this file. For a more nuclear
159
  # option (not recommended) you can uncomment the following to ignore the entire idea folder.
160
  #.idea/
161
+ .chainlit/translations/zh-CN.json
162
+ .chainlit/translations/en-US.json
Untitled-1.ipynb ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 1,
6
+ "metadata": {},
7
+ "outputs": [
8
+ {
9
+ "name": "stdout",
10
+ "output_type": "stream",
11
+ "text": [
12
+ "hello mlops software!\n"
13
+ ]
14
+ }
15
+ ],
16
+ "source": [
17
+ "print('hello mlops software!')"
18
+ ]
19
+ }
20
+ ],
21
+ "metadata": {
22
+ "kernelspec": {
23
+ "display_name": "Python 3",
24
+ "language": "python",
25
+ "name": "python3"
26
+ },
27
+ "language_info": {
28
+ "codemirror_mode": {
29
+ "name": "ipython",
30
+ "version": 3
31
+ },
32
+ "file_extension": ".py",
33
+ "mimetype": "text/x-python",
34
+ "name": "python",
35
+ "nbconvert_exporter": "python",
36
+ "pygments_lexer": "ipython3",
37
+ "version": "3.8.19"
38
+ }
39
+ },
40
+ "nbformat": 4,
41
+ "nbformat_minor": 2
42
+ }
app.py CHANGED
@@ -11,7 +11,7 @@ from dotenv import load_dotenv
11
  load_dotenv()
12
 
13
  # ChatOpenAI Templates
14
- system_template = """You are a helpful assistant who always speaks in a pleasant tone!
15
  """
16
 
17
  user_template = """{input}
 
11
  load_dotenv()
12
 
13
  # ChatOpenAI Templates
14
+ system_template = """You are a wizard's assistant. You only speak in riddles that end in a portuguese idiom. You must help the wizard with any question they have. The wizard asks you: "{input}".
15
  """
16
 
17
  user_template = """{input}