Update app.py
Browse files
app.py
CHANGED
@@ -34,11 +34,6 @@ top_results = get_top_chunks("What are some good wizard characters?")
|
|
34 |
print(top_results)
|
35 |
|
36 |
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
43 |
|
44 |
|
@@ -83,7 +78,6 @@ def respond(message, history):
|
|
83 |
i = response.rfind(punc)
|
84 |
if i != -1:
|
85 |
response = response[:i+1]
|
86 |
-
break
|
87 |
|
88 |
yield response
|
89 |
|
|
|
34 |
print(top_results)
|
35 |
|
36 |
|
|
|
|
|
|
|
|
|
|
|
37 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
38 |
|
39 |
|
|
|
78 |
i = response.rfind(punc)
|
79 |
if i != -1:
|
80 |
response = response[:i+1]
|
|
|
81 |
|
82 |
yield response
|
83 |
|