Spaces:
Runtime error
Runtime error
ehristoforu
commited on
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
import os
|
4 |
+
import subprocess
|
5 |
+
|
6 |
+
subprocess.run(["python3", "-m", "llama_cpp.server", "--hf_model_repo_id bartowski/gemma-2-9b-it-GGUF", "--model gemma-2-9b-it-Q6_K.gguf", "--host localhost", "--port 8000", "--chat_format gemma"])
|
7 |
+
|
8 |
+
|
9 |
+
with gr.Blocks() as demo:
|
10 |
+
gr.Markdown("Running...")
|
11 |
+
|
12 |
+
demo.launch()
|