Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -5,10 +5,6 @@ from huggingface_hub import InferenceClient
|
|
5 |
import os
|
6 |
import httpx
|
7 |
|
8 |
-
#clienttt = httpx.Client(base_url="http://localhost:11434")
|
9 |
-
#ollama._clienttt = clienttt
|
10 |
-
#ollama.pull("llama2")
|
11 |
-
|
12 |
def chat_short_story(length, genre, theme, tone, writing_style):
|
13 |
"""
|
14 |
Generates a creative short story using a Hugging Face model.
|
|
|
5 |
import os
|
6 |
import httpx
|
7 |
|
|
|
|
|
|
|
|
|
8 |
def chat_short_story(length, genre, theme, tone, writing_style):
|
9 |
"""
|
10 |
Generates a creative short story using a Hugging Face model.
|