ehristoforu commited on
Commit
fd33676
·
verified ·
1 Parent(s): e32ecc5

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
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()