Jether commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,6 +6,8 @@ For more information on `huggingface_hub` Inference API support, please check th
|
|
| 6 |
"""
|
| 7 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 8 |
|
|
|
|
|
|
|
| 9 |
|
| 10 |
|
| 11 |
def respond(
|
|
@@ -61,11 +63,11 @@ demo = gr.ChatInterface(
|
|
| 61 |
label="Top-p (nucleus sampling)",
|
| 62 |
),
|
| 63 |
],
|
| 64 |
-
|
| 65 |
)
|
| 66 |
|
| 67 |
|
| 68 |
-
|
| 69 |
|
| 70 |
|
| 71 |
if __name__ == "__main__":
|
|
|
|
| 6 |
"""
|
| 7 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 8 |
|
| 9 |
+
demo.launch(pwa=True, favicon_path="https://jether.net/wp-content/uploads/2018/10/jether-favicon.png")
|
| 10 |
+
|
| 11 |
|
| 12 |
|
| 13 |
def respond(
|
|
|
|
| 63 |
label="Top-p (nucleus sampling)",
|
| 64 |
),
|
| 65 |
],
|
| 66 |
+
|
| 67 |
)
|
| 68 |
|
| 69 |
|
| 70 |
+
|
| 71 |
|
| 72 |
|
| 73 |
if __name__ == "__main__":
|