Spaces:
Runtime error
Runtime error
Commit
·
1ead8bd
1
Parent(s):
da69772
updated requirments file
Browse files- app_old.py +7 -0
- requirements.txt +1 -0
app_old.py
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
def greet(name):
|
| 4 |
+
return "Hello " + name + "!!"
|
| 5 |
+
|
| 6 |
+
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 7 |
+
demo.launch()
|
requirements.txt
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
ctransformers # ==0.2.10 0.2.13
|
| 2 |
transformers # ==4.30.2
|
| 3 |
# huggingface_hub
|
|
|
|
| 1 |
+
llama-cpp-python
|
| 2 |
ctransformers # ==0.2.10 0.2.13
|
| 3 |
transformers # ==4.30.2
|
| 4 |
# huggingface_hub
|