Spaces:
Runtime error
Runtime error
samlam111
commited on
Commit
·
eae1279
1
Parent(s):
fb7f218
Added our own model
Browse files- README.md +1 -1
- app.py +4 -1
- requirements.txt +3 -1
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
emoji: 💬
|
4 |
colorFrom: yellow
|
5 |
colorTo: purple
|
|
|
1 |
---
|
2 |
+
title: ID2223 Lab2 2024
|
3 |
emoji: 💬
|
4 |
colorFrom: yellow
|
5 |
colorTo: purple
|
app.py
CHANGED
@@ -4,7 +4,10 @@ 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(
|
|
|
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 |
+
model_name_or_path = "samlama111/lora_model"
|
9 |
+
|
10 |
+
client = InferenceClient(model_name_or_path)
|
11 |
|
12 |
|
13 |
def respond(
|
requirements.txt
CHANGED
@@ -1 +1,3 @@
|
|
1 |
-
huggingface_hub==0.25.2
|
|
|
|
|
|
1 |
+
huggingface_hub==0.25.2
|
2 |
+
unsloth
|
3 |
+
gradio
|