Spaces:
Sleeping
Sleeping
Download app.py from Ahmedtiger7/Project: direct link, hf CLI and curl.
- Browser
- Download file 351 Bytes
-
https://huggingface.co/spaces/Ahmedtiger7/Project/resolve/main/app.py
- Command line
-
hf download hf://spaces/Ahmedtiger7/Project/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Ahmedtiger7/Project/resolve/main/app.py
351 Bytes
| import zipfile | |
| with zipfile.ZipFile('quickInvoiceSaaS.zip', 'r') as zip_ref: | |
| zip_ref.extractall('.') | |
| import gradio as gr | |
| def greet(name): | |
| return "مرحباً " + name + "! تم تشغيل تطبيقك بنجاح على Hugging Face." | |
| demo = gr.Interface(fn=greet, inputs="text", outputs="text") | |
| if __name__ == "__main__": | |
| demo.launch() |