saikub commited on
Commit
c4f93da
1 Parent(s): 60eb20c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -11
app.py CHANGED
@@ -1,11 +1,3 @@
1
-
2
-
3
- # # initialize the client
4
- # client = OpenAI(
5
- # base_url="https://api-inference.huggingface.co/v1",
6
- # api_key=os.environ.get('')#"hf_xxx" # Replace with your token
7
- # )
8
-
9
  import numpy as np
10
  import streamlit as st
11
  from openai import OpenAI
@@ -31,8 +23,8 @@ model_links = {
31
  "Meta-Llama-3.1-405B-Instruct-FP8": "meta-llama/Meta-Llama-3.1-405B-Instruct-FP8",
32
  "Meta-Llama-3.1-405B-Instruct": "meta-llama/Meta-Llama-3.1-405B-Instruct",
33
  "Mistral-Nemo-Instruct-2407": "mistralai/Mistral-Nemo-Instruct-2407",
34
- "Meta-Llama-3-70B-Instruct": "meta-llama/Meta-Llama-3-70B-Instruct",
35
- "Meta-Llama-3-8B-Instruct": "meta-llama/Meta-Llama-3-8B-Instruct",
36
  "C4ai-command-r-plus": "CohereForAI/c4ai-command-r-plus",
37
  "Aya-23-35B": "CohereForAI/aya-23-35B",
38
  "Zephyr-orpo-141b-A35b-v0.1": "HuggingFaceH4/zephyr-orpo-141b-A35b-v0.1",
@@ -42,7 +34,7 @@ model_links = {
42
  "Yi-1.5-34B-Chat": "01-ai/Yi-1.5-34B-Chat",
43
  "Gemma-2-27b-it": "google/gemma-2-27b-it",
44
  "Meta-Llama-2-70B-Chat-HF": "meta-llama/Llama-2-70b-chat-hf",
45
- "Meta-Llama-2-7B-Chat-HF": "meta-llama/Llama-2-7b-chat-hf",
46
  "Meta-Llama-2-13B-Chat-HF": "meta-llama/Llama-2-13b-chat-hf",
47
  "Mistral-7B-Instruct-v0.1": "mistralai/Mistral-7B-Instruct-v0.1",
48
  "Mistral-7B-Instruct-v0.2": "mistralai/Mistral-7B-Instruct-v0.2",
 
 
 
 
 
 
 
 
 
1
  import numpy as np
2
  import streamlit as st
3
  from openai import OpenAI
 
23
  "Meta-Llama-3.1-405B-Instruct-FP8": "meta-llama/Meta-Llama-3.1-405B-Instruct-FP8",
24
  "Meta-Llama-3.1-405B-Instruct": "meta-llama/Meta-Llama-3.1-405B-Instruct",
25
  "Mistral-Nemo-Instruct-2407": "mistralai/Mistral-Nemo-Instruct-2407",
26
+ "Text-to-IMG-FLUX.1-dev": "black-forest-labs/FLUX.1-dev",
27
+ "Text-to-IMG-NSFW-gen-v2": "UnfilteredAI/NSFW-gen-v2",
28
  "C4ai-command-r-plus": "CohereForAI/c4ai-command-r-plus",
29
  "Aya-23-35B": "CohereForAI/aya-23-35B",
30
  "Zephyr-orpo-141b-A35b-v0.1": "HuggingFaceH4/zephyr-orpo-141b-A35b-v0.1",
 
34
  "Yi-1.5-34B-Chat": "01-ai/Yi-1.5-34B-Chat",
35
  "Gemma-2-27b-it": "google/gemma-2-27b-it",
36
  "Meta-Llama-2-70B-Chat-HF": "meta-llama/Llama-2-70b-chat-hf",
37
+ "Text-to-IMG-ByteDance/SDXL-Lightning": "ByteDance/SDXL-Lightning",
38
  "Meta-Llama-2-13B-Chat-HF": "meta-llama/Llama-2-13b-chat-hf",
39
  "Mistral-7B-Instruct-v0.1": "mistralai/Mistral-7B-Instruct-v0.1",
40
  "Mistral-7B-Instruct-v0.2": "mistralai/Mistral-7B-Instruct-v0.2",