Jether
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,12 +7,6 @@ For more information on `huggingface_hub` Inference API support, please check th
|
|
| 7 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 8 |
|
| 9 |
|
| 10 |
-
def greet(name):
|
| 11 |
-
return "Hello " + name + "!"
|
| 12 |
-
|
| 13 |
-
demo = gr.Interface(fn=greet, inputs="textbox", outputs="textbox")
|
| 14 |
-
demo.launch(pwa=True, favicon_path="https://jether.net/wp-content/uploads/2018/10/jether-favicon.png")
|
| 15 |
-
|
| 16 |
|
| 17 |
|
| 18 |
def respond(
|
|
@@ -76,4 +70,4 @@ demo = gr.ChatInterface(
|
|
| 76 |
|
| 77 |
|
| 78 |
if __name__ == "__main__":
|
| 79 |
-
|
|
|
|
| 7 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 8 |
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
|
| 12 |
def respond(
|
|
|
|
| 70 |
|
| 71 |
|
| 72 |
if __name__ == "__main__":
|
| 73 |
+
demo.launch(pwa=True, favicon_path="https://jether.net/wp-content/uploads/2018/10/jether-favicon.png")
|