Spaces:
Runtime error
Runtime error
Fix: Update deprecated APIs and dependencies
#13
by akseljoonas - opened
README.md
CHANGED
|
@@ -4,7 +4,8 @@ emoji: π¦
|
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: gray
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: apache-2.0
|
|
|
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: gray
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 5.29.1
|
| 8 |
+
python_version: "3.12"
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
| 11 |
license: apache-2.0
|
app.py
CHANGED
|
@@ -132,7 +132,7 @@ g = gr.Interface(
|
|
| 132 |
),
|
| 133 |
],
|
| 134 |
outputs=[
|
| 135 |
-
gr.
|
| 136 |
lines=5,
|
| 137 |
label="Output",
|
| 138 |
)
|
|
@@ -140,7 +140,7 @@ g = gr.Interface(
|
|
| 140 |
title="π¦π² Alpaca-LoRA",
|
| 141 |
description="Alpaca-LoRA is a 7B-parameter LLaMA model finetuned to follow instructions. It is trained on the [Stanford Alpaca](https://github.com/tatsu-lab/stanford_alpaca) dataset and makes use of the Huggingface LLaMA implementation. For more information, please visit [the project's website](https://github.com/tloen/alpaca-lora).",
|
| 142 |
)
|
| 143 |
-
g.queue(
|
| 144 |
g.launch()
|
| 145 |
|
| 146 |
# Old testing code follows.
|
|
|
|
| 132 |
),
|
| 133 |
],
|
| 134 |
outputs=[
|
| 135 |
+
gr.Textbox(
|
| 136 |
lines=5,
|
| 137 |
label="Output",
|
| 138 |
)
|
|
|
|
| 140 |
title="π¦π² Alpaca-LoRA",
|
| 141 |
description="Alpaca-LoRA is a 7B-parameter LLaMA model finetuned to follow instructions. It is trained on the [Stanford Alpaca](https://github.com/tatsu-lab/stanford_alpaca) dataset and makes use of the Huggingface LLaMA implementation. For more information, please visit [the project's website](https://github.com/tloen/alpaca-lora).",
|
| 142 |
)
|
| 143 |
+
g.queue()
|
| 144 |
g.launch()
|
| 145 |
|
| 146 |
# Old testing code follows.
|