jonathanlehner commited on
Commit
5d76928
1 Parent(s): 630d42a

medium gave me strange results

Browse files
Files changed (2) hide show
  1. README 2.md +0 -38
  2. ai_single_response.py +1 -1
README 2.md DELETED
@@ -1,38 +0,0 @@
1
- ---
2
- title: Ai Msgbot Gpt2 M XL
3
- emoji: 📉
4
- colorFrom: yellow
5
- colorTo: purple
6
- sdk: gradio
7
- app_file: app.py
8
- pinned: false
9
- ---
10
-
11
- # Configuration
12
-
13
- `title`: _string_
14
- Display title for the Space
15
-
16
- `emoji`: _string_
17
- Space emoji (emoji-only character allowed)
18
-
19
- `colorFrom`: _string_
20
- Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)
21
-
22
- `colorTo`: _string_
23
- Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)
24
-
25
- `sdk`: _string_
26
- Can be either `gradio` or `streamlit`
27
-
28
- `sdk_version` : _string_
29
- Only applicable for `streamlit` SDK.
30
- See [doc](https://hf.co/docs/hub/spaces) for more info on supported versions.
31
-
32
- `app_file`: _string_
33
- Path to your main application file (which contains either `gradio` or `streamlit` Python code).
34
- Path is relative to the root of the repository.
35
-
36
- `pinned`: _boolean_
37
- Whether the Space stays on top of your list.
38
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ai_single_response.py CHANGED
@@ -51,7 +51,7 @@ def query_gpt_model(
51
  [dict]: [returns a dict with A) just model response as str B) total conversation]
52
  """
53
  ai = aitextgen(
54
- model="microsoft/DialoGPT-large",
55
  #model_folder=folder_path,
56
  to_gpu=False,
57
  )
 
51
  [dict]: [returns a dict with A) just model response as str B) total conversation]
52
  """
53
  ai = aitextgen(
54
+ model="r3dhummingbird/DialoGPT-medium-joshua",
55
  #model_folder=folder_path,
56
  to_gpu=False,
57
  )