Spaces:
Runtime error
Runtime error
hanzla javaid
commited on
Commit
·
02caa8d
1
Parent(s):
4e04bfc
updates
Browse files- app.py +3 -3
- requirements.txt +2 -1
app.py
CHANGED
|
@@ -12,8 +12,8 @@ loaded_models = {}
|
|
| 12 |
|
| 13 |
# List of available models (ensure these are correct and accessible)
|
| 14 |
models = [
|
| 15 |
-
"
|
| 16 |
-
"
|
| 17 |
]
|
| 18 |
|
| 19 |
|
|
@@ -169,4 +169,4 @@ with gr.Blocks() as demo:
|
|
| 169 |
)
|
| 170 |
|
| 171 |
if __name__ == "__main__":
|
| 172 |
-
demo.launch()
|
|
|
|
| 12 |
|
| 13 |
# List of available models (ensure these are correct and accessible)
|
| 14 |
models = [
|
| 15 |
+
"Qwen/Qwen2.5-7B-Instruct",
|
| 16 |
+
"meta-llama/Llama-3.2-1B"
|
| 17 |
]
|
| 18 |
|
| 19 |
|
|
|
|
| 169 |
)
|
| 170 |
|
| 171 |
if __name__ == "__main__":
|
| 172 |
+
demo.launch(share=True)
|
requirements.txt
CHANGED
|
@@ -1,2 +1,3 @@
|
|
| 1 |
transformers
|
| 2 |
-
torch
|
|
|
|
|
|
| 1 |
transformers
|
| 2 |
+
torch
|
| 3 |
+
gradio
|