Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def mistral_nemo_call(prompt, API_TOKEN, model="mistralai/Mistral-Nemo-Instruct-
|
|
46 |
response += message.choices[0].delta.content
|
47 |
return response
|
48 |
|
49 |
-
def query(prompt, is_negative=False, steps=30, cfg_scale=7, sampler="DPM++ 2M Karras", seed=-1, strength=0.7, huggingface_api_key=None, use_dev=False, enhance_prompt_option=False):
|
50 |
# Determine which API URL to use
|
51 |
api_url = API_URL_DEV if use_dev else API_URL
|
52 |
|
|
|
46 |
response += message.choices[0].delta.content
|
47 |
return response
|
48 |
|
49 |
+
def query(prompt, is_negative=False, steps=30, cfg_scale=7, sampler="DPM++ 2M Karras", seed=-1, strength=0.7, huggingface_api_key=None, use_dev=False, enhance_prompt_option=False, use_mistral_nemo=False):
|
50 |
# Determine which API URL to use
|
51 |
api_url = API_URL_DEV if use_dev else API_URL
|
52 |
|