Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import openai
|
| 3 |
|
| 4 |
-
client =
|
| 5 |
base_url="http://localhost:11434/v1/",
|
| 6 |
api_key="ollama" # Required but unused by Ollama
|
| 7 |
)
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import openai
|
| 3 |
|
| 4 |
+
client = openai(
|
| 5 |
base_url="http://localhost:11434/v1/",
|
| 6 |
api_key="ollama" # Required but unused by Ollama
|
| 7 |
)
|