Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,8 @@ from huggingface_hub import InferenceClient
|
|
4 |
"""
|
5 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
6 |
"""
|
7 |
-
|
|
|
8 |
|
9 |
|
10 |
def respond(
|
@@ -58,6 +59,5 @@ demo = gr.ChatInterface(
|
|
58 |
],
|
59 |
)
|
60 |
|
61 |
-
|
62 |
if __name__ == "__main__":
|
63 |
-
demo.launch()
|
|
|
4 |
"""
|
5 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
6 |
"""
|
7 |
+
# Update the model name here
|
8 |
+
client = InferenceClient(model="nvidia/Llama3-ChatQA-1.5-8B")
|
9 |
|
10 |
|
11 |
def respond(
|
|
|
59 |
],
|
60 |
)
|
61 |
|
|
|
62 |
if __name__ == "__main__":
|
63 |
+
demo.launch(share=True) # Ensure share=True to get a public URL
|